2014-03-01 1:40 GMT+04:00 Bernd Schmidt <ber...@codesourcery.com>: >> For your use case, I'd imagine the offload compiler would be built >> relatively normally as a full build with >> "--enable-as-accelerator-for=x86_64-linux", which would install it into >> locations where the host will eventually be able to find it. Then the >> host compiler would be built with another new configure option (as yet >> unimplemented in my patch set) "--enable-offload-targets=mic,..." which >> would tell the host compiler about the pre-built offload target >> compilers.
Hi Bernd, Could you please advise me how to build the offload gcc and target libraries during the build of host gcc? I see a possible way: to duplicate all modules in Makefile.def needed for regular build of gcc and libs. But it looks ugly. Is there a better solution? Thanks, -- Ilya