https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116103

--- Comment #5 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
(In reply to Li Pan from comment #3)
> best practice of cross
> compile gfx908 in x86 linux?

If you only need the 'cc1' (and no assembler, linker, libc), the following
should do:

    $ [...]/configure --target=amdgcn-amdhsa --enable-languages=c
    $ make -j12 all-gcc
    $ gcc/cc1 [...]

Reply via email to