Compiling GCC for Windows - getting warm ?

Mark Butcher M_J_BUTCHER@compuserve.com
Fri May 24 13:45:00 GMT 2002


Hallo Wayne

I'm now more and more convinced that I simply need to find the correct way
of setting an environment variable. I have not yet found the method but
have attempted a multitude of settings both directly in cygwin and in my
autoexec.bat file.

The most promising to date have been (in autoexec and re-booting)

SET CC=c:/mingw/bin/gcc
and SET CC=/cygdrive/c/mingw/bin/gcc

It seems as though the program (gcc) must be named directly so that it can
be found because if I only give the path, the compiler is not found.

It is no longer possible to type in gcc -v in cygwin and test the compiler
version when the path has been removed though.

This is not yet the solution since, although the compiler is found during
the configuration, there is an error that the compiler doesn't work.


This means that I feel I am getting warmer but am still going round in
circles at the moment. If you know the syntax I would be very grateful for
a tip, in the mean time I will try to find some information on the web and
do some more experimenting, in the hope that I may hit the lucky
combination soon..

Cheers

Mark



More information about the Gcc-help mailing list