This is the mail archive of the crossgcc@sourceware.org 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: c++ includes not getting searched for correctly?


On 10/08/2010 11:04 PM, Anthony Foiani wrote:

Looking through the docs, this looks promising:

--enable-version-specific-runtime-libs
Specify that runtime libraries should be installed in the compiler
specific subdirectory (libdir/gcc) rather than the usual places. In
addition, `libstdc++''s include files will be installed into libdir
unless you overruled it by using --with-gxx-include-dir=dirname. Using
this option is particularly useful if you intend to use several
versions of GCC in parallel. This is currently supported by
`libgfortran', `libjava', `libmudflap', `libstdc++', and `libobjc'.

I'll experiment with that later tonight.

This is what you will want for cross-compilers. It helps keeping a cross-compiler's bundled and internal libraries separate from those inside of the sys-rooted libaries.


This is important for libraries, which are directly coupled to a particular GCC's version (ABI/API), rsp. depend upon other libraries a particular version of GCC provides (e.g. libstdc++).

Ralf

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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