Web lists-archives.org

[Mingw-users] Problem with crossed native build of gcc 4.2.2




Pardon me if this has been dealt with in the past, but I have searched
extensively and cannot find any discussion of this problem.

I am trying to build a crossed native mingw compiler gcc 4.2.2 in linux using
Ranjit Mathew's procedures detailed at:

http://rmathew.com/articles/gcj/bldgcj.html

This build includes gcj. I have not changed any of the scripts provided by Mr.
Mathews other than the items required, such as entering the location to be used
for the crossed native gcc, etc.

The crossed native build of binutils-2.17 works fine and installs to my cross
gcc directory.

The cross configure of gcc also seems to work.

The build of the mingw gcc cross starts out well, but eventually stalls on:

/bin/sh ./libtool --mode=compile /projects/XGCC_BUILD/gcc/gcj
-B/projects/XGCC_BUILD/i686-pc-mingw32/libjava/ -B/projects/XGCC_BUILD/gcc/
-ffloat-store -fomit-frame-pointer -fno-omit-frame-pointer -fclasspath=
-fbootclasspath=/projects/XGCC_BUILD/i686-pc-mingw32/libjava/classpath/lib
--encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -fjni
-findirect-dispatch -fno-indirect-classes -c -o gnu-xml.lo @gnu-xml.list
/projects/XGCC_BUILD/gcc/gcj -B/projects/XGCC_BUILD/i686-pc-mingw32/libjava/
-B/projects/XGCC_BUILD/gcc/ -ffloat-store -fomit-frame-pointer
-fno-omit-frame-pointer -fclasspath=
-fbootclasspath=/projects/XGCC_BUILD/i686-pc-mingw32/libjava/classpath/lib
--encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -fjni
-findirect-dispatch -fno-indirect-classes -c @gnu-xml.list -o gnu-xml.o

The build seems to be doing something, but even if I leave it for hours, it
never completes. It chews up almost all of the available memory, but nothing
happens.

I have tried this on two different machines. One has 1 gig of memory and 1.5 gig
 of swap. This same problem occurs under OpenSuse 10.3, Fedora 8, and Puppy Linux.

Needless to say, I never get to the point of trying to create a mingw native
compiler.

Any help will be greatly appreciated.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users