This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Toplevel (b-i-b) patch: Clean up CXX_FOR_TARGET
- From: Nathanael Nerode <neroden at twcny dot rr dot com>
- To: dj at redhat dot com, gcc-patches at gcc dot gnu dot org
- Date: Fri, 22 Nov 2002 21:01:17 -0500
- Subject: Re: Toplevel (b-i-b) patch: Clean up CXX_FOR_TARGET
>> This is diffed against 3.4bib, where it will apply. Tested with a
>full, clean
>> bootstrap on i686-pc-linux-gnu; everything appears to work.
>
>A more interesting test would be for a cross-compiler that uses
>libstdc++, preferably one that uses incompatible CXX_FLAGS ;-)
Can you suggest such a setup?
This one was actually tedious to get right; every time I got it wrong it
failed while building libstdc++-v3. Presumably because it was using
'g++' instead of 'xgcc'. In fact, it would start complaining
about being unable to find -lstdc++; I never did manage to trace down
exactly why it was failing in that particular way. Interestingly,
CXX_FOR_TARGET *must* be overridden when passing down; it seems that
something in libstdc++-v3 looks at that instead of at CXX, although I
couldn't figure out what.
--Nathanael