On Fri, Dec 10, 2021 at 2:41 PM Patrick Begou via Gcc-help <gcc-help@xxxxxxxxxxx> wrote: > > Hi gcc users, > > as my question does not seem to find an audience, I could perhaps > rephrase it differently: > > Has anyone successfully compiled GCC11 with offloading to modern Nvidia > GPU on RHEL8 / CentOS8 and, if so, could they show me a pointer for a > tutorial or some "how-to" documentation? > > I was not able to find this or may be i misunderstand the process to do > this. Do you specifically need gcc 11? This seems to be a general problem in 11 for targets that don’t have this header. I ran into the same issue when trying to build the djgpp version a few days ago. gcc 10 does not suffer from this, IIRC.