problem crosscompiling libstdc++-2.8.1.1
Ulrich Lauther
ulrich.lauther@mchp.siemens.de
Sun Apr 19 08:15:00 GMT 1998
I don't know if this is the right group to ask; if not please direct
me to a better suited one.
I am trying to build libstdc++-2.8.1.1 for a linux -> mingw32
crosscompiler.
The crosscompiler has already been built and lives in
/usr/local/i686-pc-mingw32.
This is what I do:
cd <libstdc++-src-directory>
mkdir obj_cross
cd obj_cross
CC=gcc ../configure i686-pc-mingw32 --prefix=/usr/local
make
The make runs without problems and creates the libs.
However, the native - not the cross - gcc is used.
As a result, the objects put into libstdc++.a are ELF-files, not coff
as needed for the target platform.
Am I doing something wrong, or is there a bug in configure?
Should I submit more info (e.g. generated Makefiles) ?
(All this with gcc-2.8.1).
Thanks for any help.
--
-ulrich
----------------------------------------------------------------------------
Ulrich Lauther ph: +49 89 636 48834 fx: ... 636 42284
Siemens ZT SE 4 Internet: Ulrich.Lauther@mchp.siemens.de
More information about the Gcc
mailing list