View Single Post
Old 2005-02-28, 22:31   #10
JHansen
 
JHansen's Avatar
 
Apr 2004
Copenhagen, Denmark

22×29 Posts
Thumbs up

Quote:
Originally Posted by akruppa
Maybe Jes can give step-by-step instructions how to install MinGW, MSYS and compile gmp-ecm?
Sure!

1) Download the current Mingw http://prdownloads.sf.net/mingw/MinG...1.exe?download
and MSYS http://prdownloads.sf.net/mingw/MSYS...0.exe?download

1.5) I also downloaded the MinGW Runtime thingy's. Don't know if they are nessesary, but they won't hurt.

2) I made a folder called GNU and installed MinGW in c:\GNU\MinGW

2.5) I extracted the new runtime stuff and just overwrote what has there

3) I installed MSYS in c:\GNU\msys

Now you get an icon on the desktop where you can start the MinSys. Do this, because is creates your home folder. Then exit it again.

4) Download gmp and place it in your newly created home folder. (For me is was called C:\GNU\msys\1.0\home\Jes )

5) Start the MinSys up again from the desktop and type

gunzip gmp-4.1.4.tar.gz
tar -xvf gmp-4.1.4.tar
cd gmp-4.1.4
./configure
make install

Then GMP installs (takes about two or three cups of cofee ).

6) Afterwards, download ECM-GMP 6 from http://home.in.tum.de/~kruppa/ecm-6.0.tar.gz and place the file in your home folder.

7) In the "home" directory (type cd ~ RETURN to get there) type
gunzip ecm-6.0.tar.gz
tar -xvf ecm-6.0.tar
cd ecm-6.0
./configure --with-gmp=/usr/local
make

8) Look and behold! 4 executables have appeared, and the one to look out for is ecm.exe

Have fun

--
Cheers,
Jes

Last fiddled with by smh on 2005-03-28 at 11:27
JHansen is offline   Reply With Quote