This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: need help compiling for Windows
Now I've tried MSys and I get the same error:
c:/software/gcc/gcc-3.3.1/configure: c:mingwbingcc.exe: command not found
*** The command 'c:mingwbingcc.exe -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
PLEASE someone tell me what I'm doing wrong. I've tried every possible value
of CC that I can think of, and nothing works.
----- Original Message -----
From: "Sheryl Canter" <sheryl@permutations.com>
To: <gcc-help@gcc.gnu.org>
Sent: Tuesday, October 07, 2003 10:27 PM
Subject: need help compiling for Windows
I've been trying all day to compile GCC for Windows, and I just can't do it.
I'm using the MinGW compiler as a boot compiler and cygwin for the
environment. I added c:\mingw\bin to the path, but I keep getting this error
message:
c:mingwbingcc.exe: not found
*** The command 'c:mingwbingcc.exe -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
I don't know why it isn't showing the slashes in the path. When I type "env"
at the shell prompt, the path is correct.
What am I doing wrong here? I'm wasting hours and hours and getting nowhere.
Do I need a CC environment variable? If so, please give me the precise
syntax. I have no experience with Linux.
Thanks in advance.
- Sheryl