This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]