Re: [Mingw-users] MinGw 5.3.1 - What is needed to compile gcc-4.2.1-2-src.tar.gz?
- Date: Mon, 04 Feb 2008 09:18:06 +0800
- From: JonY <10walls@xxxxxxxxx>
- Subject: Re: [Mingw-users] MinGw 5.3.1 - What is needed to compile gcc-4.2.1-2-src.tar.gz?
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
>
-------------------------------------------------------------------------
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