Cygwin Compile of NetBSD 1.6

Max Bowsher maxb@ukf.net
Sun Feb 2 19:03:00 GMT 2003


Elfyn McBratney wrote:
>> So, what appears to be happening is that the build.sh script is
>> recoginizing "cc" when checking for "gcc". Cygwin does not appear to
>> recognize "cc" as a compiler on it - attempted test compiles with the
>> "cc" comand. Without changing anything in the build scripts, is
>> there an easy way to tell the Cygwin bash enviornment to recognize
>> "cc" as "gcc"? I did attempt to use a name-value pair in the bash
>> enviornment (as per the bash man page - "CC=C:\cygwin\bin\gcc.exe"),
>> but it did not work for me.
>
> You can create a symbolic link from gcc to cc:
>
> $ cd /bin && ln -s gcc cc

Or find out why it is finding a cc at all, and stop it.
Run "which cc" to find out where the cc is, if it is in your PATH.
If that doesn't find anything, then hack build.sh to preserve config.log,
and check that.

Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list