[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gcc 4 under Vista
From: |
Scott Meyers |
Subject: |
gcc 4 under Vista |
Date: |
Tue, 13 Mar 2007 11:14:37 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.4.0 |
Last October, I posted asking for help building g++ 4 under Windows
2000. I ultimately succeeded, summarizing how I did so at
http://www.aristeia.com/Misc/gcc4ForWindows_frames . I've since moved
to Vista, but I find that following the same instructions doesn't work.
When I get to the step where I configure the build, I'm told gcc doesn't
work:
Scott@DIOMEDES /gcc-work/build/gcc
$ ../../source/gcc-4.1.1/configure --prefix=/mingw --host=mingw32
--target=ming
w32 --program-prefix="" --with-as=/mingw/bin/as.exe
--with-ld=/mingw/bin/ld.exe
--with-gcc --with-gnu-ld --with-gnu-as --enable-threads
--disable-nls --enable
-languages=c,c++ --disable-win32-registry --disable-shared
--without-x --enable
-interpreter --enable-hash-synchronization --enable-libstdcxx-debug
creating cache ./config.cache
checking host system type... i386-pc-mingw32
checking target system type... i386-pc-mingw32
checking build system type... i386-pc-mingw32
checking for a BSD compatible install... /bin/install -c
checking whether ln works... yes
checking whether ln -s works... no
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler
cannot creat e executables.
But gcc is certainly present:
Scott@DIOMEDES /gcc-work/build/gcc
$ gcc -v
Reading specs from d:/gcc3/lib/gcc/mingw32/3.4.5/specs
Configured with: ../gcc-3.4.5/configure --with-gcc --with-gnu-ld
--with-gnu-as - -host=mingw32 --target=mingw32 --prefix=/mingw
--enable-threads --disable-nls --
enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry
--disable-shar ed --enable-sjlj-exceptions --enable-libgcj
--disable-java-awt --without-x --ena ble-java-gc=boehm
--disable-libgcj-debug --enable-interpreter --enable-hash-sync
hronization --enable-libstdcxx-debug
Thread model: win32
gcc version 3.4.5 (mingw special)
Anybody have any idea how I can build gcc 4 under Vista? Alternatively,
if somebody has a pre-build gcc 4 for Vista they'd be willing to share,
that'd be fine, too.
Thanks,
Scott
- gcc 4 under Vista,
Scott Meyers <=