This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Configuring and Compiling GCC for Windows
- From: Mark Butcher <M_J_BUTCHER at compuserve dot com>
- To: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Tue, 21 May 2002 17:05:44 -0400
- Subject: Configuring and Compiling GCC for Windows
Hi All
In addition to my previous mails, I have perfomed another test. I decided
to try to configure the compiler under NT4 instead of Windows 98. This time
the results are quite different.
1. When I extracted the gcc files from the archive with tar all names were
cut to a length of 8 characters and so nothing worked. I know it's not
really a subject in this group but I had to extract under 98 and copy
before I could continue..
2. After putting everything in its usual place, the configuration / build
aborted much earlier with the following messages.
$c:/gcc/gcc-3.0.4/configure
Configuring for a i686-pc-cygwin host.
*** This configuration is not supported in the following subdirectories:
target-libffi target-boehm-gc target-zlib target-libjava
(Any other directories should still work fine.)
Created "Makefile" in /cygdrive/c/gcc/gccwin using "mh-frag"
gcc.exe: installation problem, can not exec 'cpp0': No such file or
directory
*** The command 'gcc -o conftest -O2 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
rm: cannot remove '/tmp/cNf173/cNf173.pos': permission denied
rm: cannot remove directory '/tmp/cNf173': Directory not empty
When I type gcc -v in the bach shell, the result is positive and the same
actions under Windows 98 worked (that is the compiler didn't seem to cause
any difficulties).
I am sure that I am doing something stupid but I need some expert out there
to point me in the right direction. Would be grateful for that elusive
tip..
Regards
Mark Butcher