Step-By-Step Build Instructions for MinGW gcc/gcj 3.4 Compilers

Taras taras.judge@shaw.ca
Thu Jul 31 19:48:00 GMT 2003


Hi,
This script fails for me.
I set /home/taras/work/cvs/gcc-build/ as my base dir btw.
This is what I get after running ./buildxgcc.sh in 
/home/taras/work/cvs/gcc-build/scripts/build.

Any idea what went wrong?

/home/taras/work/cvs/gcc-build/build/crossgcc_build/gcc/xgcc 
-B/home/taras/work/cvs/gcc-build/build/crossgcc_build/gcc/ 
-B/home/taras/work/cvs/gcc-build/build/crossgcc/i586-pc-mingw32/bin/ 
-B/home/taras/work/cvs/gcc-build/build/crossgcc/i586-pc-mingw32/lib/ 
-isystem 
/home/taras/work/cvs/gcc-build/build/crossgcc/i586-pc-mingw32/include 
-isystem 
/home/taras/work/cvs/gcc-build/build/crossgcc/i586-pc-mingw32/sys-include 
-O2 -I/home/taras/work/cvs/gcc-build/gcc/gcc/../winsup/w32api/include 
-DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -isystem ./include   -g0 -DHAVE_GTHR_DEFAULT 
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. 
-I/home/taras/work/cvs/gcc-build/gcc/gcc 
-I/home/taras/work/cvs/gcc-build/gcc/gcc/. 
-I/home/taras/work/cvs/gcc-build/gcc/gcc/config 
-I/home/taras/work/cvs/gcc-build/gcc/gcc/../include -DL_chkstk 
-xassembler-with-cpp -c 
/home/taras/work/cvs/gcc-build/gcc/gcc/config/i386/cygwin.asm -o 
libgcc/./_chkstk.o
/home/taras/work/cvs/gcc-build/build/crossgcc_build/gcc/xgcc 
-B/home/taras/work/cvs/gcc-build/build/crossgcc_build/gcc/ 
-B/home/taras/work/cvs/gcc-build/build/crossgcc/i586-pc-mingw32/bin/ 
-B/home/taras/work/cvs/gcc-build/build/crossgcc/i586-pc-mingw32/lib/ 
-isystem 
/home/taras/work/cvs/gcc-build/build/crossgcc/i586-pc-mingw32/include 
-isystem 
/home/taras/work/cvs/gcc-build/build/crossgcc/i586-pc-mingw32/sys-include 
-O2 -I/home/taras/work/cvs/gcc-build/gcc/gcc/../winsup/w32api/include 
-DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -isystem ./include   -g0 -DHAVE_GTHR_DEFAULT 
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. 
-I/home/taras/work/cvs/gcc-build/gcc/gcc 
-I/home/taras/work/cvs/gcc-build/gcc/gcc/. 
-I/home/taras/work/cvs/gcc-build/gcc/gcc/config 
-I/home/taras/work/cvs/gcc-build/gcc/gcc/../include  -DL_muldi3 -c 
/home/taras/work/cvs/gcc-build/gcc/gcc/libgcc2.c -o libgcc/./_muldi3.o
In file included from tm.h:9,
                 from /home/taras/work/cvs/gcc-build/gcc/gcc/libgcc2.c:43:
/home/taras/work/cvs/gcc-build/gcc/gcc/config/i386/cygming.h:30:19: 
stdio.h: No such file or directory
In file included from /home/taras/work/cvs/gcc-build/gcc/gcc/libgcc2.c:43:
/home/taras/work/cvs/gcc-build/gcc/gcc/config/i386/cygming.h:332: error: 
parse error before '*' token
/home/taras/work/cvs/gcc-build/gcc/gcc/config/i386/cygming.h:332: 
warning: function declaration isn't a prototype
make[2]: *** [libgcc/./_muldi3.o] Error 1
make[2]: Leaving directory 
`/home/taras/work/cvs/gcc-build/build/crossgcc_build/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory 
`/home/taras/work/cvs/gcc-build/build/crossgcc_build/gcc'
make: *** [all-gcc] Error 2
Press ENTER when you are ready to install...


Mohan Embar wrote:

>Hi Erik and Øyvind,
>
>I have successfully managed to build the CVS
>2003-06-29 snapshot of 3.4 as well as MinGW GCJ 3.3.
>I've updated the build scripts and patches
>to build both of these. I've also updated the
>Cygwin instructions, but haven't tried building
>on Cygwin yet.
>
>Since thisiscool.com is down, I temporarily
>put these here:
>
>http://www.thisiscool.org/mingw32-gcc-scripts.tar.gz
>
>Consult scripts/ReadMe.txt for details. The
>instructions have changed slightly, so be sure
>to follow these to the letter. You can build
>either 3.3 or 3.4 (v2003-06-29) from these
>instructions.
>
>Øyvind: Could you tell me if your 0-reloc error
>is present with this snapshot of binutils?
>
>If anyone wants to try to figure out the
>exact day that the MinGW build broke, consult
>scripts/cvs/co34.sh and do a binary-search-type
>adjustment on the date using 2003-06-29 and
>yesterday as the lower and upper bounds. The
>next thing on my list is to troubleshoot this.
>
>-- Mohan
>http://www.thisiscool.com/
>http://www.animalsong.org/
>
>
>
>
>  
>




More information about the Java mailing list