Content-Type: multipart/alternative; boundary="_286407ca-4be1-4cfd-bf1a-db51bdb284ca_" --_286407ca-4be1-4cfd-bf1a-db51bdb284ca_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have been referred to http://sourceforge.net/projects/gmpmingw/ for a mingw32 binary version of GMP. I have the following in my etc/profile file: export PATH=3D"/home/User/nano":$PATH=3B export PATH=3D"/home/User/":$PATH=3B export PATH=3D"/home/User/gmp-5.0.2":$PATH=3B I need to get the following working: GMP MPFR MPC I am finding now that=20 "C preprocessor /lib/cpp is failing a sanity check." when I attempt to com= pile MPFR=2C with the aforementioned binary GMP. Are there any mingw32 people who know what I need to do to my /lib/cpp to g= et it behaving better? From: sfhacker@hotmail.com To: eliz@gnu.org=3B stargate7thsymbol@live.co.uk CC: mingw-users@lists.sourceforge.net Subject: RE: [Mingw-users] compiling and building GMP library Date: Sat=2C 25 Feb 2012 08:56:39 +0000 Ciao. I've just built GMP 5.0.4 under MinGW without any problems. I'm using GCC 4= .5.2. I can upload the libraries onto SourceForge if required. FYI=2C you c= an find GMP 5.0.2 for MinGW here: http://sourceforge.net/projects/gmpmingw/ Cheers. Sergio. > Date: Sat=2C 25 Feb 2012 10:31:07 +0200 > From: eliz@gnu.org > To: stargate7thsymbol@live.co.uk > CC: mingw-users@lists.sourceforge.net > Subject: Re: [Mingw-users] compiling and building GMP library >=20 > > From: Me Myself and I > > Date: Sat=2C 25 Feb 2012 18:57:02 +1100 > >=20 > > I havn't changed anything else except a few export statements in my > > .etc/profile file. >=20 > What exactly did you change? >=20 > > configure:9244: gcc -std=3Dgnu99 -E conftest.c > > configure:9244: $? =3D 1 > > configure: failed program was: > > | /* confdefs.h */ > > | #define PACKAGE_NAME "GNU MP" > > | #define PACKAGE_TARNAME "gmp" > > | #define PACKAGE_VERSION "5.0.4" > > | #define PACKAGE_STRING "GNU MP 5.0.4" > > | #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org=2C see http://gmplib.o= rg/manual/Reporting-Bugs.html" > > | #define PACKAGE_URL "http://www.gnu.org/software/gmp/" > > | #define PACKAGE "gmp" > > | #define VERSION "5.0.4" > > | #define WANT_FFT 1 > > | #define HAVE_HOST_CPU_i686 1 > > | #define HAVE_SPEED_CYCLECOUNTER 2 > > | #define HAVE_CALLING_CONVENTIONS 1 > > | /* end confdefs.h. */ > > | #ifdef __STDC__ > > | # include > > | #else > > | # include > > | #endif > > | Syntax error >=20 > I see now that the "Syntax error" part is not a sign of anything: it > comes from the configure script itself=2C and is there for a good > reason (read the comments in the script if you want to know more). >=20 > So I can only repeat my previous suggestion: copy the above to a file > named conftest.c and run GCC from the shell prompt=2C exactly as the > script claims to have run it: >=20 > gcc -std=3Dgnu99 -E conftest.c >=20 > Then look at the output and any error messages you get. >=20 > For your reference=2C when I try this here=2C I get this output: >=20 > # 1 "conftest.c" > # 1 "" > # 1 "" > # 1 "conftest.c" > # 16 "conftest.c" > # 1 "D:/usr/bin/../lib/gcc/mingw32/3.4.2/../../../../include/limits.h" = 1 3 > # 21 "D:/usr/bin/../lib/gcc/mingw32/3.4.2/../../../../include/limits.h"= 3 > # 1 "D:/usr/bin/../lib/gcc/mingw32/3.4.2/../../../../include/_mingw.h" = 1 3 > # 31 "D:/usr/bin/../lib/gcc/mingw32/3.4.2/../../../../include/_mingw.h"= 3 >=20 > # 32 "D:/usr/bin/../lib/gcc/mingw32/3.4.2/../../../../include/_mingw.h"= 3 > # 22 "D:/usr/bin/../lib/gcc/mingw32/3.4.2/../../../../include/limits.h"= 2 3 > # 17 "conftest.c" 2 >=20 >=20 >=20 > Syntax error >=20 > and the exit code is zero. >=20 > (Obviously=2C the "D:/usr/bin" part depends on where GCC is installed=2C > and will probably be different on your machine.) >=20 > -------------------------------------------------------------------------= ----- > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing=20 > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > MinGW-users mailing list > MinGW-users@lists.sourceforge.net >=20 > This list observes the Etiquette found at=20 > http://www.mingw.org/Mailing_Lists. > We ask that you be polite and do the same. Disregard for the list etique= tte may cause your account to be moderated. >=20 > _______________________________________________ > You may change your MinGW Account Options or unsubscribe at: > https://lists.sourceforge.net/lists/listinfo/mingw-users > Also: mailto:mingw-users-request@lists.sourceforge.net?subject=3Dunsubscr= ibe = --_286407ca-4be1-4cfd-bf1a-db51bdb284ca_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have been referred to http://sourceforge.net/projects/gmpmingw/
for a = mingw32 binary version of GMP.

I have the following in my etc/profil= e file:

export PATH=3D"/home/User/nano":$PATH=3B
export PATH=3D"/= home/User/":$PATH=3B
export PATH=3D"/home/User/gmp-5.0.2":$PATH=3B
I need to get the following working:

GMP
MPFR
MPC

I a= m finding now that

"C preprocessor /lib/cpp =3B is failing a sa= nity check." when I attempt to compile MPFR=2C with the aforementioned bina= ry GMP.

Are there any mingw32 people who know what I need to do to m= y /lib/cpp to get it behaving better?


From: sfhacker@hotmail.com
To: eliz= @gnu.org=3B stargate7thsymbol@live.co.uk
CC: mingw-users@lists.sourcefor= ge.net
Subject: RE: [Mingw-users] compiling and building GMP library
= Date: Sat=2C 25 Feb 2012 08:56:39 +0000

Ciao.

I've just built GMP 5.0.4 under MinGW without any problems. I'= m using GCC 4.5.2. I can upload the libraries onto SourceForge if required.= FYI=2C you can find GMP 5.0.2 for MinGW here: http://sourceforge.net/proje= cts/gmpmingw/

Cheers.

Sergio.

>=3B Date: Sat=2C 25 Feb 2012 10:31:07 +0200
>= =3B From: eliz@gnu.org
>=3B To: stargate7thsymbol@live.co.uk
>=3B= CC: mingw-users@lists.sourceforge.net
>=3B Subject: Re: [Mingw-users]= compiling and building GMP library
>=3B
>=3B >=3B From: Me My= self and I <=3Bstargate7thsymbol@live.co.uk>=3B
>=3B >=3B Date: = Sat=2C 25 Feb 2012 18:57:02 +1100
>=3B >=3B
>=3B >=3B I havn= 't changed anything else except a few export statements in my
>=3B >= =3B .etc/profile file.
>=3B
>=3B What exactly did you change?>=3B
>=3B >=3B configure:9244: gcc -std=3Dgnu99 -E conftest.c>=3B >=3B configure:9244: $? =3D 1
>=3B >=3B configure: failed= program was:
>=3B >=3B | /* confdefs.h */
>=3B >=3B | #defin= e PACKAGE_NAME "GNU MP"
>=3B >=3B | #define PACKAGE_TARNAME "gmp">=3B >=3B | #define PACKAGE_VERSION "5.0.4"
>=3B >=3B | #define= PACKAGE_STRING "GNU MP 5.0.4"
>=3B >=3B | #define PACKAGE_BUGREPORT= "gmp-bugs@gmplib.org=2C see http://gmplib.org/manual/Reporting-Bugs.html"<= br>>=3B >=3B | #define PACKAGE_URL "http://www.gnu.org/software/gmp/">=3B >=3B | #define PACKAGE "gmp"
>=3B >=3B | #define VERSION = "5.0.4"
>=3B >=3B | #define WANT_FFT 1
>=3B >=3B | #define HA= VE_HOST_CPU_i686 1
>=3B >=3B | #define HAVE_SPEED_CYCLECOUNTER 2
= >=3B >=3B | #define HAVE_CALLING_CONVENTIONS 1
>=3B >=3B | /* en= d confdefs.h. */
>=3B >=3B | #ifdef __STDC__
>=3B >=3B | # i= nclude <=3Blimits.h>=3B
>=3B >=3B | #else
>=3B >=3B | # i= nclude <=3Bassert.h>=3B
>=3B >=3B | #endif
>=3B >=3B | = Syntax error
>=3B
>=3B I see now that the "Syntax error" pa= rt is not a sign of anything: it
>=3B comes from the configure script = itself=2C and is there for a good
>=3B reason (read the comments in th= e script if you want to know more).
>=3B
>=3B So I can only repe= at my previous suggestion: copy the above to a file
>=3B named conftes= t.c and run GCC from the shell prompt=2C exactly as the
>=3B script cl= aims to have run it:
>=3B
>=3B gcc -std=3Dgnu99 -E conftest.= c
>=3B
>=3B Then look at the output and any error messages you g= et.
>=3B
>=3B For your reference=2C when I try this here=2C I ge= t this output:
>=3B
>=3B # 1 "conftest.c"
>=3B # 1 "<= =3Bbuilt-in>=3B"
>=3B # 1 "<=3Bcommand line>=3B"
>=3B #= 1 "conftest.c"
>=3B # 16 "conftest.c"
>=3B # 1 "D:/usr/bin/.= ./lib/gcc/mingw32/3.4.2/../../../../include/limits.h" 1 3
>=3B # 21 = "D:/usr/bin/../lib/gcc/mingw32/3.4.2/../../../../include/limits.h" 3
>= =3B # 1 "D:/usr/bin/../lib/gcc/mingw32/3.4.2/../../../../include/_mingw.h= " 1 3
>=3B # 31 "D:/usr/bin/../lib/gcc/mingw32/3.4.2/../../../../inc= lude/_mingw.h" 3
>=3B
>=3B # 32 "D:/usr/bin/../lib/gcc/mingw32= /3.4.2/../../../../include/_mingw.h" 3
>=3B # 22 "D:/usr/bin/../lib/= gcc/mingw32/3.4.2/../../../../include/limits.h" 2 3
>=3B # 17 "conft= est.c" 2
>=3B
>=3B
>=3B
>=3B Syntax error
>= =3B
>=3B and the exit code is zero.
>=3B
>=3B (Obviously= =2C the "D:/usr/bin" part depends on where GCC is installed=2C
>=3B an= d will probably be different on your machine.)
>=3B
>=3B -------= -----------------------------------------------------------------------
= >=3B Virtualization &=3B Cloud Management Using Capacity Planning
&= gt=3B Cloud computing makes use of virtualization - but cloud computing >=3B also focuses on allowing computing to be delivered as a service.>=3B http://www.accelacomm.com/jaw/sfnl/114/51521223/
>=3B ________= _______________________________________
>=3B MinGW-users mailing list<= br>>=3B MinGW-users@lists.sourceforge.net
>=3B
>=3B This list = observes the Etiquette found at
>=3B http://www.mingw.org/Mailing_Lis= ts.
>=3B We ask that you be polite and do the same. Disregard for the= list etiquette may cause your account to be moderated.
>=3B
>= =3B _______________________________________________
>=3B You may chang= e your MinGW Account Options or unsubscribe at:
>=3B https://lists.sou= rceforge.net/lists/listinfo/mingw-users
>=3B Also: mailto:mingw-users-= request@lists.sourceforge.net?subject=3Dunsubscribe
= --_286407ca-4be1-4cfd-bf1a-db51bdb284ca_--