Web lists-archives.org

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,

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.

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