This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [kyukhin/gomp4-offload] DESTDIR issues
- From: Paolo Bonzini <bonzini at gnu dot org>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Ilya Verbin <iverbin at gmail dot com>, Kirill Yukhin <kirill dot yukhin at gmail dot com>, Bernd Schmidt <bernds at codesourcery dot com>, Alexandre Oliva <aoliva at redhat dot com>, DJ Delorie <dj at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 17 Sep 2014 18:00:10 +0200
- Subject: Re: [kyukhin/gomp4-offload] DESTDIR issues
- Authentication-results: sourceware.org; auth=none
- References: <20140917133144 dot GF17454 at tucnak dot redhat dot com> <541994E9 dot 9020109 at gnu dot org> <20140917140950 dot GH17454 at tucnak dot redhat dot com>
Il 17/09/2014 16:09, Jakub Jelinek ha scritto:
>> > Is the offloading compiler built together with GCC or previously? If
>> > the latter, what's the difference between the offloading compiler and
>> > say gmp? Setting the LD_LIBRARY_PATH would be the responsibility of
>> > whoever builds GCC; it would be the same here for the COMPILER_PATH.
> Right now previously, but (usually) from the very same sources, so I think
> it will be usually (but not always?) desirable to build them together, perhaps
> not in a single toplevel configure and single toplevel make.
If it's from the same sources, that probably rules out a single toplevel
configure/make. Is it a problem if a newer GCC is compiled with older
headers from the offloading compiler?
In any case, I would go with a configure option.
Paolo