This is the mail archive of the gcc@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: mingw32 target broken [cygwin as well] [the saga continues]



Jeff Sturm <jsturm@one-point.com> writes:
> Note however that gcc needs to find the target headers in
> $prefix/<target>/include, so you'll want to copy these before
> configuring gcc

Ah, this was the problem. I also had to compile a set of
cross-binutils. This time I got much farther -- it seems to get most
of the C compiler to compile, but I'm running into problems with
libstdc++... has anybody seen anything like this before?

../src/configure \
                 --prefix=/usr \
                 --enable-shared \
                 --enable-languages=c,c++,java \
                 --disable-nls \
                 --with-as=/usr/cross-binutils/i686-pc-mingw32/bin/as \
                 --target=i686-pc-mingw32 \
                 --with-gnu-ld \
                 --with-gnu-as \
                 --with-ld=/usr/cross-binutils/i686-pc-mingw32/bin/ld

/home/megacz/gcc-3.1/bin/gcc/xgcc -B/home/megacz/gcc-3.1/bin/gcc/ -nostdinc++ -L/home/megacz/gcc-3.1/bin/i686-pc-mingw32/libstdc++-v3/src -L/home/megacz/gcc-3.1/bin/i686-pc-mingw32/libstdc++-v3/src/.libs -B/usr/i686-pc-mingw32/bin/ -B/usr/i686-pc-mingw32/lib/ -isystem /usr/i686-pc-mingw32/include -nostdinc++ -I/home/megacz/gcc-3.1/bin/i686-pc-mingw32/libstdc++-v3/include/i686-pc-mingw32 -I/home/megacz/gcc-3.1/bin/i686-pc-mingw32/libstdc++-v3/include -I../../../../src/libstdc++-v3/libsupc++ -I../../../../src/libstdc++-v3/libmath -g -O2 -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -g -c basic_file.cc -o basic_file.o
In file included from /home/megacz/gcc-3.1/bin/i686-pc-mingw32/libstdc++-v3/include/bits/locale_facets.h:54,
                 from /home/megacz/gcc-3.1/bin/i686-pc-mingw32/libstdc++-v3/include/bits/basic_ios.h:41,
                 from /home/megacz/gcc-3.1/bin/i686-pc-mingw32/libstdc++-v3/include/bits/std_ios.h:51,
                 from /home/megacz/gcc-3.1/bin/i686-pc-mingw32/libstdc++-v3/include/bits/basic_file.h:45,
                 from basic_file.cc:34:
/home/megacz/gcc-3.1/bin/i686-pc-mingw32/libstdc++-v3/include/i686-pc-mingw32/bits/ctype_base.h:46: `
   _U' was not declared in this scope
/home/megacz/gcc-3.1/bin/i686-pc-mingw32/libstdc++-v3/include/i686-pc-mingw32/bits/ctype_base.h:47: `
   _L' was not declared in this scope
/home/megacz/gcc-3.1/bin/i686-pc-mingw32/libstdc++-v3/include/i686-pc-mingw32/bits/ctype_base.h:48: `
   _U' was not declared in this scope
/home/megacz/gcc-3.1/bin/i686-pc-mingw32/libstdc++-v3/include/i686-pc-mingw32/bits/ctype_base.h:48: `
   _L' was not declared in this scope


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