Problem building gcc 4.1.1 (fortran) in MinGW

Wolfgang0815@gmx.de Wolfgang0815@gmx.de
Sun Oct 22 21:03:00 GMT 2006


Hi again,

Thanks for your helping answers.

> One, you are always supposed to do a VPATH build when
> building gcc.
What is a VPATH build? I read about this
build-dir-not-in-source-dir thing, but I thought, configure
might do this alright automatically (as I didn't specify any
pathes beside the required prefix=/mingw).

> you should use --enable-languages=c,fortran
OK, this results in the same error message.

> take a look at the gcc-x.y.z-build.sh script for the
> current 3.4.5 gcc packages in the SF file release page.
I copied the following command lines from gcc-3.4.5-build.sh:

$ ./configure --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32  --prefix=/mingw --enable-threads --disable-nls --enable-languages=c,c++,fortran,ada,objc,java --with-ld=/mingw/bin/ld --disable-win32-registry --disable-shared --enable-sjlj-exceptions --enable-libgcj --disable-java-awt --without-x --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter --enable-hash-synchronization --enable-libstdcxx-debug
$ make CFLAGS="-O2 -fomit-frame-pointer" CXXFLAGS="-mthreads -fno-omit-frame-pointer -O2" LDFLAGS=-s bootstrap

(I had to replace f77 by fortran and added the with-ld-statement.)

Unfortunately this results in the same error message.

Any further ideas? Every help is welcome. Thanks!

Wolfgang
Wolfgang0815 .at. gmx .dot. de
-- 
GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl



More information about the Gcc-help mailing list