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:

  [EMAIL PROTECTED] /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:

  [EMAIL PROTECTED] /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
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to