Web lists-archives.org

Re: [Mingw-users] MinGw 5.3.1 - What is needed to compile gcc-4.2.1-2-src.tar.gz?






> Date: Sun, 3 Feb 2008 01:27:38 +0800
> From: 10walls@xxxxxxxxx
> To: mingw-users@xxxxxxxxxxxxxxxxxxxxx
> 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
> >
> > 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
 
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?

>
> 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?

>
> 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!

>
> 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.
>
> 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
 

>
> -------------------------------------------------------------------------
> 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



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