On 28/09/2025 08:51, Amruth Tetakali via Gcc wrote:
Hello,

I am a student exploring the GCC source code with an interest in GPU
programming and the NVPTX backend. I am in the process of setting up my
development environment.

I have successfully cloned the latest source from the git repository and
installed the required prerequisites (GMP, MPFR, MPC, etc.) on my Linux
system. I am now at the configure step.

Could you please guide me on the essential ./configure flags that are
required to build GCC with support for NVPTX offloading?

There's a Wiki page that should cover this. You should probably read over the whole page, but especially this section should help you: https://gcc.gnu.org/wiki/Offloading#For_Nvidia_PTX: (the colon is part of the URL).

If the instructions aren't clear or are broken then please give feedback. :)

Andrew

Reply via email to