From: Eduardo M. <ema...@ho...> - 2008-02-02 16:50:10
|
Hello =20 I would like to use Mingw 5.3.1 default installation to compile gcc-4.2.1-2= -src.tar.gz. I am using msys from the installer but the versions of gmp an= d mpfr are too old. =20 a) What packages need to be updated? b) What new packages need to be installed? =20 Many thanks =20 Ed =20 _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/= |
From: JonY <10...@gm...> - 2008-02-02 17:28:02
|
Eduardo Mendes wrote: > Hello > > I would like to use Mingw 5.3.1 default installation to compile > gcc-4.2.1-2-src.tar.gz <http://gcc-4.2.1-2-src.tar.gz/>. I am using > msys from the installer but the versions of gmp and mpfr are too old. > > a) What packages need to be updated? > b) What new packages need to be installed? > > Many thanks > > Ed > > Hi, well, if you do want to compile everything from scratch, you will first need to update MSYS bash and coreutils. You may also need MSYS DTK to provide a perl parser (is that what you call it?). Next, you can build the latest binutils from cvs checkout, or grab the pre-compiled binutils binaries from the MinGW site. Then you will need and updated GMP and MPFR. They may be configured and installed with simply "./configure --prefix=/mingw --enable-static --enable-shared". They are needed for gfortran. Next should be gcc itself, I do suggest taking a look at the gcc-4.2.1-build-dw2-2.sh shell script provided at MinGW sorceforge. It will provide clues to how gcc 4 should be configured and build. Do not forget to read up the gcc install guide at "http://gcc.gnu.org/install/", it will save you a couple of hours of hard work due to mistakes. Iirc, that should be all. Sorry if I forget anything, I need to sleep. |
From: Eduardo M. <ema...@ho...> - 2008-02-02 18:29:09
|
> Date: Sun, 3 Feb 2008 01:27:38 +0800> From: 10...@gm...> To: mingw-= us...@li...> Subject: Re: [Mingw-users] MinGw 5.3.1 - What = is needed to compile gcc-4.2.1-2-src.tar.gz?> > Eduardo Mendes wrote:> > He= llo> > > > I would like to use Mingw 5.3.1 default installation to compile = > > gcc-4.2.1-2-src.tar.gz <http://gcc-4.2.1-2-src.tar.gz/>. I am using > >= msys from the installer but the versions of gmp and mpfr are too old.> > >= > a) What packages need to be updated?> > b) What new packages need to be = installed?> > > > Many thanks> > > > Ed> > > > >=20 =20 Hi =20 Many thanks for your reply. =20 I wonder whether you could guide me step by step. =20 Please see my comments below. > well, if you do want to compile everything from scratch, you will first >= need to update MSYS bash and coreutils. You may also need MSYS DTK to > pr= ovide a perl parser (is that what you call it?). =20 Do you mean MSYS base system, technology preview: msys-1.0.11 from Dec 4th,= 2007 and tools for msys-1.0.11 from Set 20th, 2007. =20 Where do I "tar -zxvf" them? Do I need all the packages listed on sourcef= orge? > > Next, you can build the latest binutils from cvs checkout, or grab the = > pre-compiled binutils binaries from the MinGW site. =20 I think I will for the new binaries. Is that ok? > > Then you will need and updated GMP and MPFR. They may be configured and= > installed with simply "./configure --prefix=3D/mingw --enable-static > -= -enable-shared". They are needed for gfortran. =20 Where do I find GMp and MPFR? GMP seems to be on of MSYS tools, doesn't it?= I couldn't find MPFR! > > Next should be gcc itself, I do suggest taking a look at the > gcc-4.2.= 1-build-dw2-2.sh shell script provided at MinGW sorceforge. It > will provi= de clues to how gcc 4 should be configured and build. =20 I am used gcc-4.2.1-build to find the problems with GMP and MPFR.> > Do not= forget to read up the gcc install guide at > "http://gcc.gnu.org/install/"= , it will save you a couple of hours of > hard work due to mistakes.> > Iir= c, that should be all. Sorry if I forget anything, I need to sleep. =20 =20 Many thanks ' Ed =20 > > -----------------------------------------------------------------------= --> This SF.net email is sponsored by: Microsoft> Defy all challenges. Micr= osoft(R) Visual Studio 2008.> http://clk.atdmt.com/MRT/go/vse0120000070mrt/= direct/01/> _______________________________________________> MinGW-users ma= iling list> Min...@li...> > You may change your MinGW = Account Options or unsubscribe at:> https://lists.sourceforge.net/lists/lis= tinfo/mingw-users _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/= |
From: JonY <10...@gm...> - 2008-02-03 01:08:44
|
Eduardo Mendes wrote: > > Hi > > Many thanks for your reply. > > I wonder whether you could guide me step by step. > > Please see my comments below. > > > well, if you do want to compile everything from scratch, you will first > > need to update MSYS bash and coreutils. You may also need MSYS DTK to > > provide a perl parser (is that what you call it?). > > Do you mean MSYS base system, technology preview: msys-1.0.11 from Dec > 4th, 2007 and tools for msys-1.0.11 from Set 20th, 2007. > > Where do I "tar -zxvf" them? Do I need all the packages listed on > sourceforge? MSYS DTK can be found as msysDTK-1.0.1.exe. After installing MSYS, get the following updates: bash-3.1-MSYS-1.0.11-1.tar.bz2 coreutils-5.97-MSYS-1.0.11-snapshot.tar.bz2 MSYS-1.0.11-20070729.tar.bz2 Extract them to your MSYS folder to update MSYS, by default C:\MSYS\1.0\ I'm not sure if msysCORE-1.0.11-2007.01.19-1.tar.bz2 is needed or not. > > > > > Next, you can build the latest binutils from cvs checkout, or grab the > > pre-compiled binutils binaries from the MinGW site. > > I think I will for the new binaries. Is that ok? Yeah, sure. Make sure you get the latest. > > > > > Then you will need and updated GMP and MPFR. They may be configured and > > installed with simply "./configure --prefix=/mingw --enable-static > > --enable-shared". They are needed for gfortran. > > Where do I find GMp and MPFR? GMP seems to be on of MSYS tools, doesn't > it? I couldn't find MPFR! You should not be using GMP and MPFR from MSYS tools, they link to the MSYS runtime. You need to grab the source tarball and compile them to link to MS C runtime. The tarballs can be found at: http://gmplib.org/#DOWNLOAD http://mpfr.org/mpfr-current/ > > > > > Next should be gcc itself, I do suggest taking a look at the > > gcc-4.2.1-build-dw2-2.sh shell script provided at MinGW sorceforge. It > > will provide clues to how gcc 4 should be configured and build. > > I am used gcc-4.2.1-build to find the problems with GMP and MPFR. I'm not sure if I understand your question, do you mean configure could not find an appropriate GMP and MPFR installed? As above, you need MinGW versions instead of MSYS versions. Also, if you plan to build the ada and gnat portion, make sure you already have ada support, eg gcc-ada-3.4.5-20060117-1.tar.gz. You may also need to disable DEP (data execution prevention) if you are using XP, 2003 or Vista for ada to build properly. > > > > Do not forget to read up the gcc install guide at > > "http://gcc.gnu.org/install/", it will save you a couple of hours of > > hard work due to mistakes. > > > > Iirc, that should be all. Sorry if I forget anything, I need to sleep. > > > Many thanks > ' > Ed > > Glad to help out. |
From: Eduardo M. <ema...@ho...> - 2008-02-03 18:43:12
|
Hello =20 Many many thanks. =20 A couple of more questions, if I may. Please see my comments below. =20 > MSYS DTK can be found as msysDTK-1.0.1.exe. After installing MSYS, get > = the following updates:> > bash-3.1-MSYS-1.0.11-1.tar.bz2> coreutils-5.97-MS= YS-1.0.11-snapshot.tar.bz2> MSYS-1.0.11-20070729.tar.bz2> > Extract them to= your MSYS folder to update MSYS, by default C:\MSYS\1.0\ > I'm not sure if= msysCORE-1.0.11-2007.01.19-1.tar.bz2 is needed or not. =20 =20 All extracted to c:\msys\1.0 -> The package coreutils-5.97 created the c:\= msys\1.0\coreutils-97 and under it bin, info, lib and man. I thought they should go directly to c= :\msys\1.0. Am I right? > > > > > >> > > Next, you can build the latest binutils from cvs checkout,= or grab the> > > pre-compiled binutils binaries from the MinGW site.> > > = > I think I will for the new binaries. Is that ok?> > Yeah, sure. Make sure= you get the latest. =20 Done. > > > > > >> > > Then you will need and updated GMP and MPFR. They may be c= onfigured and> > > installed with simply "./configure --prefix=3D/mingw --e= nable-static> > > --enable-shared". They are needed for gfortran.> > > > Wh= ere do I find GMp and MPFR? GMP seems to be on of MSYS tools, doesn't > > i= t? I couldn't find MPFR!> > You should not be using GMP and MPFR from MSYS = tools, they link to the > MSYS runtime. You need to grab the source tarball= and compile them to > link to MS C runtime. The tarballs can be found at:>= > http://gmplib.org/#DOWNLOAD> http://mpfr.org/mpfr-current/ =20 =20 Ok, but how to compile them? Can I use msys environment? =20 > > > > > >> > > Next should be gcc itself, I do suggest taking a look at t= he> > > gcc-4.2.1-build-dw2-2.sh shell script provided at MinGW sorceforge.= It> > > will provide clues to how gcc 4 should be configured and build.> >= > > I am used gcc-4.2.1-build to find the problems with GMP and MPFR.> > I= 'm not sure if I understand your question, do you mean configure could > no= t find an appropriate GMP and MPFR installed? As above, you need MinGW > ve= rsions instead of MSYS versions. =20 Yes, it didn't find the appropriate GMP and MPFR and that was the reason of= my question in the first place. > > Also, if you plan to build the ada and gnat portion, make sure you > al= ready have ada support, eg gcc-ada-3.4.5-20060117-1.tar.gz. You may > also = need to disable DEP (data execution prevention) if you are using > XP, 2003= or Vista for ada to build properly. =20 How disable DEP on Vista? =20 Once more, many thanks for the help and patience. =20 Regards =20 Ed =20 _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/= |
From: JonY <10...@gm...> - 2008-02-04 01:18:18
|
Eduardo Mendes wrote: > > Hello > > Many many thanks. > > A couple of more questions, if I may. Please see my comments below. > > > MSYS DTK can be found as msysDTK-1.0.1.exe. After installing MSYS, get > > the following updates: > > > > bash-3.1-MSYS-1.0.11-1.tar.bz2 > > coreutils-5.97-MSYS-1.0.11-snapshot.tar.bz2 > > MSYS-1.0.11-20070729.tar.bz2 > > > > Extract them to your MSYS folder to update MSYS, by default C:\MSYS\1.0\ > > I'm not sure if msysCORE-1.0.11-2007.01.19-1.tar.bz2 is needed or not. > > > All extracted to c:\msys\1.0 -> The package coreutils-5.97 created the > c:\msys\1.0\coreutils-97 > and under it bin, info, lib and man. I thought they should go directly > to c:\msys\1.0. Am I right? Right. > > > > > > > > > > > > > > Next, you can build the latest binutils from cvs checkout, or > grab the > > > > pre-compiled binutils binaries from the MinGW site. > > > > > > I think I will for the new binaries. Is that ok? > > > > Yeah, sure. Make sure you get the latest. > > Done. > > > > > > > > > > > > > > Then you will need and updated GMP and MPFR. They may be > configured and > > > > installed with simply "./configure --prefix=/mingw --enable-static > > > > --enable-shared". They are needed for gfortran. > > > > > > Where do I find GMp and MPFR? GMP seems to be on of MSYS tools, > doesn't > > > it? I couldn't find MPFR! > > > > You should not be using GMP and MPFR from MSYS tools, they link to the > > MSYS runtime. You need to grab the source tarball and compile them to > > link to MS C runtime. The tarballs can be found at: > > > > http://gmplib.org/#DOWNLOAD > > http://mpfr.org/mpfr-current/ > > > Ok, but how to compile them? Can I use msys environment? Yes, you need the MSYS environtment to run the configure shell script. > > > > > > > > > > > > > > Next should be gcc itself, I do suggest taking a look at the > > > > gcc-4.2.1-build-dw2-2.sh shell script provided at MinGW > sorceforge. It > > > > will provide clues to how gcc 4 should be configured and build. > > > > > > I am used gcc-4.2.1-build to find the problems with GMP and MPFR. > > > > I'm not sure if I understand your question, do you mean configure could > > not find an appropriate GMP and MPFR installed? As above, you need MinGW > > versions instead of MSYS versions. > > Yes, it didn't find the appropriate GMP and MPFR and that was the reason > of my question in the first place. > > > > > Also, if you plan to build the ada and gnat portion, make sure you > > already have ada support, eg gcc-ada-3.4.5-20060117-1.tar.gz. You may > > also need to disable DEP (data execution prevention) if you are using > > XP, 2003 or Vista for ada to build properly. > > How disable DEP on Vista? I don't have a vista machine, but google tells me http://www.realtime-vista.com/administration/2007/04/disabling_data_execution_preve.htm > > > Once more, many thanks for the help and patience. > > Regards > > Ed > |
From: Eduardo M. <ema...@ho...> - 2008-02-04 12:10:36
|
> > How disable DEP on Vista?> > I don't have a vista machine, but google tells me> http://www.realtime-vista.com/administration/2007/04/disabling_data_execution_preve.htm> Thanks. I have added the url to my favorites. Thanks Ed _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ |