/gcc/4.0/gcc-4.0.1/config.guess
i686-pc-cygwin
$ /work/install/bin/gcc -v
Using built-in specs.
Target: i686-pc-cygwin
Configured with: /gcc/4.0/gcc-4.0.1/configure --verbose
--prefix=/work/install --exec-prefix=/work/install --sysconfdir=/work/i
nstall/etc --libdir=/work/install/lib --libexecdir=/work/install/lib
--mandir=/work/install/man --infodir=/work/install/info --
enable-languages=c,c++ --enable-nls --without-included-gettext
--with-system-zlib --disable-interpreter --enable-threads=posix
--enable-sjlj-exceptions --disable-version-specific-runtime-libs
--disable-win32-registry
Thread model: posix
gcc version 4.0.1
Additional info:
OS = WinXP Pro SP2
The cygwin version was 1.5.8.
The original gcc release was 3.4.1.
The orginal gcc -v output was:
$ gcc -v
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.1/specs
Configured with: /gcc/3.4/gcc-3.4.1-1/configure --verbose --prefix=/usr
--exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib
--mandir=/usr/share/man --infodir=/usr/share/info
--enable-languages=c,ada,c++,f77,java,objc --enable-nls
--without-included-gettext --enable-libgcj --with-system-zlib
--enable-interpreter --enable-threads=posix --enable-java-gc=boehm
--enable-sjlj-exceptions --disable-version-specific-runtime-libs
--disable-win32-registry
Thread model: posix
gcc version 3.4.1 (cygming special)
The exact sequence of steps involved in bootstrapping was:
bzip2 -d /gcc-4.0.1.tar.bz2
mkdir /gcc
mkdir /gcc/4.0
cd /gcc/4.0
tar xvf /gcc-4.0.1.tar
mkdir /work
mkdir /work/install
mkdir /work/install/etc
mkdir /work/install/lib
mkdir /work/install/man
mkdir /work/install/info
mkdir /objdir
cd /objdir
/gcc/4.0/gcc-4.0.1/configure --verbose --prefix=/work/install
--exec-prefix=/work/install --sysconfdir=/work/install/etc
--libdir=/work/install/lib --libexecdir=/work/install/lib
--mandir=/work/install/man --infodir=/work/install/info
--enable-languages=c,c++ --enable-nls --without-included-gettext
--with-system-zlib --disable-interpreter --enable-threads=posix
--enable-sjlj-exceptions --disable-version-specific-runtime-libs
--disable-win32-registry
make bootstrap
make install
make html
gcc unbzip2ped is 200 MB
objdir at the end is 350 MB
the process takes about 1 h
The original gcc 3.4.1 shipped with cygwin is now available on my system
with:
gcc -o hello.exe hello.c
The 4.0.1 compiler can be invoked with:
/work/install/bin/gcc
Paolo Greppi
http://www.3ip.it