Re: [Mingw-users] help to compile gmp-4.2.2
- Date: Mon, 4 Feb 2008 12:07:02 +0000
- From: Eduardo Mendes <emammendes@xxxxxxxxxxx>
- Subject: Re: [Mingw-users] help to compile gmp-4.2.2
|
> > 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' > > How did you configure it? More strangely, why is m4 called? Your libtool > message is very odd indeed. Try doing I have issued (on msys) ./configure --prefix=/mingw --enable-static I have no idea why m4 called. On msys /bin/libtool is dated 2003. > > ./libtool --config|grep CC= > > It should give you the following. > LTCC="gcc" > CC="gcc" > That is exactly the output I get when I issue ./libtool under gmp dir. > I have seen your off the mailing list message, it is not a problem, but > I do prefer it on the mailing list. I remember compiling GMP using > gcc-3.4.5. By any chance are you using Vista? I agree with you. Perhaps other list members can benefit from the discussion. Yes, I am running Vista. > > Another note, GMP does not allow both shared and static libraries to be > built due to the difference in installed headers. I suggest using > static, otherwise, gfortran.exe will depend on the GMP dll. Ok. Thanks. Many 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
- Follow-Ups:
- References:
- [Mingw-users] help to compile gmp-4.2.2
- From: Eduardo Mendes
- Re: [Mingw-users] help to compile gmp-4.2.2
- From: JonY
- [Mingw-users] help to compile gmp-4.2.2
- Prev by Date: Re: [Mingw-users] snprintf() changes with mingw-runtime-3.14
- Next by Date: Re: [Mingw-users] MinGw 5.3.1 - What is needed to compile gcc-4.2.1-2-src.tar.gz?
- Previous by thread: Re: [Mingw-users] (success!) help to compile gmp-4.2.2
- Next by thread: Re: [Mingw-users] help to compile gmp-4.2.2
- Index(es):