This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: cross gcc & libstdc++


>I have the compiler and binutils and newlib and gdb working
>just fine with my target hardware - all in C and some
>stuff in C++ (provided I"m not using/require the libstdc++)

This is easy to do.

>I would like to make use of libstdc++ but I am stuck.
>
>libstdc++v3 is included inside of the gcc 3.2 distribution - I believe
>that is the one that I want to make use of. If not please tell me.

This is a fine choice of sources.

>I cannot seem to figure out how libstdc++v3 is ./configured let
>alone built. It seems - the ./configure script is not setup to
>understand a cross compiler situation.

Are you hosting on linux, for an arm-elf toolchain? If not, please
provide more info on what your host is, what your target is, and what
errors you get. Also, please don't email me privately about this.

Here's what you need to do:

http://gcc.gnu.org/simtest-howto.html

The target libraries are configured and built after the compilers are
done. If you are configuring with --enable-languages=c,c++ then
everything (including libstdc++) will be done for you automatically.

-benjamin


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