« Return to Thread: environment hosed during upgrade

Re: environment hosed during upgrade

by Bob Nestor-2 :: Rate this Message:

| View in Thread

On Mar 9, 2007, at 3:01 PM, Danny Smith wrote:

>
>> Where can I find the build instructions ?
>
> http://gcc.gnu.org/install/
>
> Good luck.  AFAIK, Danny cross-builds our binary distributions
> on Cygwin;
>
> Not really, my build compiler is mingw gcc.  I bootstap/run testsuite
> using mingw compiler and mingw binutils but
> with all the POSIX-y tools coming from cygwin rather than msys. (They
> are more complete, more robust and faster).

[...] snipped the details

Are you sure you didn't miss a step?  Maybe one involving the  
sacrifice of a goat or a virgin?

I tried the following on a Windows XP system and it doesn't work.  It  
gets errors during the build.

Download the cygwin setup.exe installer from
        http://www.cygwin.com/setup.exe

Run the cygwin installer creating a setup in the c:\cygwin directory  
path.
        Selecting "use IE settings" seems to work from behind a firewall.
        The ftp://cygwin.osuosl.org seems to be a good choice to download from.
        For type of installation, click the "default" label to force an  
"install"

Download the MinGW-3.1.0-1.exe installer from
        http://prdownloads.sf.net/mingw/MinGW-3.1.0-1.exe?download

Download and install the following into c:\MinGW
        http://downloads.sourceforge.net/mingw/ 
binutils-2.17.50-20060824-1.tar.gz
        http://prdownloads.sourceforge.net/gnuwin32/libiconv-1.9.2-1-bin.zip?
download
       
Create a home directory if necessary in cygwin at
        c:\cygwin\home

Download and expand into c:\cygwin\home\gcc
        http://downloads.sourceforge.net/mingw/gcc-ada-3.4.5-20060117-1- 
src.tar.gz
        http://downloads.sourceforge.net/mingw/gcc-core-3.4.5-20060117-1- 
src.tar.gz
        http://downloads.sourceforge.net/mingw/gcc-g++-3.4.5-20060117-1- 
src.tar.gz
        http://downloads.sourceforge.net/mingw/gcc-f77-3.4.5-20060117-1- 
src.tar.gz
        http://downloads.sourceforge.net/mingw/gcc-java-3.4.5-20060117-1- 
src.tar.gz
        http://downloads.sourceforge.net/mingw/gcc-objc-3.4.5-20060117-1- 
src.tar.gz

Download into c:\cygwin\home the file
        http://downloads.sourceforge.net/mingw/gcc-3.4.5-build.sh

Using the "Cygwin" ICON on your desktop, execute Cygwin. This will open
up a Unix-like shell in a window.

Create mount points in Cygwin to use the MinGW compiler and binutils:
        $ mkdir /mingw
        $ mount c:/MinGW /mingw
        $ mount c:/cygwin/lib /usr/lib
        $ mount c:/cygwin/usr /usr
        $ mount c:/cygwin/bin /bin
        $ mount c:/cygwin/bin /usr/bin
        $ mount c:/cygwin /

Make sure MinGW compilers and binutils are used in build:
        $ PATH=/mingw/bin:$PATH

Create a target directory and execute the build:
        mkdir ./mingw
        cd mingw
        ../gcc-3.4.5-build.sh


Any help, corrections, comments, suggestions, etc would be appreciated.

Thanks,
-bob

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
MinGW-users mailing list
MinGW-users@...

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users

 « Return to Thread: environment hosed during upgrade