This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: libstdc++ ignores --with-sysroot? [was: crosstool-0.28-rc13+arm9 softfloat, sysroot success]


Ralf Corsepius wrote:
One small issue with the 'libstdc++' libs not being put in
'sys-root/usr/lib'.  Not a big deal if just using C.

Yes, these end up in $PREFIX/arm-linux/lib instead of (as I expected) $PREFIX/arm-linux/sys-root/usr/lib, just like libgcc_s, libsupc++ and libiberty. I have no idea why. Does anyone on the list know the rationale behind this?

Nope. I bet the libstdc++ developers just haven't cottoned on to gcc's --with-sysroot configure option yet.

IMO, gcc's / libstdc++'s behavior is correct, because it treats sys-root as read-only directory and puts all generated files (headers, libs etc.) into its private directories. libstdc++ and its headers are such private files.

Thanks for the explanation! - Dan


-- My technical stuff: http://kegel.com My politics: see http://www.misleader.org for examples of why I'm for regime change

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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