Web lists-archives.org

[Mingw-users] help to compile gmp-4.2.2




Hello
 
I am trying to get gmp-4.2.2 compiled so I downloaded the source, updated msys and binutils.
 
First I try gcc-3.4.5 but it seems that gmp-4.2.2 needs gcc >= 4. So I got gcc-4.2.1-sjlj and added to mingw.  gcc-4.2.1 seems to work but
 
make[2]: Entering directory `C:/msys/1.0/home/eduardo/gmp-4.2.2/mpn'
C:/msys/1.0/bin/sh.exe ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo add_n | sed 's/_$//'`    -m32 -O2 -fomit-frame-pointer -mtune=k8 -march=k8 -mno-cygwin `test -f 'add_n.asm' || echo './'`add_n.asm
 ../mpn/m4-ccas "--m4=m4 gcc" -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_add_n -m32 -O2 -fomit-frame-pointer -mtune=k8 -march=k8 -mno-cygwin add_n.asm -o add_n.o
m4 gcc  -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_add_n add_n.asm >tmp-add_n.s
 -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_add_n -m32 -O2 -fomit-frame-pointer -mtune=k8 -march=k8 -mno-cygwin tmp-add_n.s -o add_n.o
m4: ggc : no such file or directory
../mpn/m4-ccas: line 93 : -c - command not found
make[2]: Leaving directory `C:/msys/1.0/home/eduardo/gmp-4.2.2/mpn'
make[1]: Leaving directory `C:/msys/1.0/home/eduardo/gmp-4.2.2'
 
 
Any ideas of what could be wrong?
 
Many thanks
 
Ed
 


Express yourself instantly with MSN Messenger! MSN Messenger
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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