This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Compiling GCC for Windows - getting warm ?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]