This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fwd: [RFC][gomp4] Offloading patches (2/3): Add tables generation
- From: Ilya Verbin <iverbin at gmail dot com>
- To: Bernd Schmidt <bernds at codesourcery dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 27 May 2014 14:17:58 +0400
- Subject: Re: Fwd: [RFC][gomp4] Offloading patches (2/3): Add tables generation
- Authentication-results: sourceware.org; auth=none
- References: <20131217113957 dot GA39975 at msticlxl57 dot ims dot intel dot com> <52E7927B dot 8030509 at codesourcery dot com> <CADG=Z0GQ8ORLe1XRUU7VMYeLhwuWisMyCcGLQj-nY_bhkbD_1Q at mail dot gmail dot com> <CADG=Z0HRb1ojtTc4xEAG=hH_GcfAARDAmn70XGB5khF0mME4pQ at mail dot gmail dot com> <52E9137C dot 4020706 at codesourcery dot com> <CADG=Z0HkhefrBJ_tKyhEHv+p+AMTvpbxf=Md6JOCv6rAUu1u9g at mail dot gmail dot com> <CADG=Z0GW==Wax+3B5Z2JiieOWoz_gWpqtdhHA_L9-Nzb6u4bnA at mail dot gmail dot com> <530648F8 dot 2010409 at codesourcery dot com> <CADG=Z0HE6AudmZuQK2vWz+E4fh8PnqoJ-aq9GXjZXgn-ZRW0kw at mail dot gmail dot com> <5310B791 dot 1000703 at codesourcery dot com> <5311023B dot 4070703 at codesourcery dot com>
2014-03-01 1:40 GMT+04:00 Bernd Schmidt <bernds@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