This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Cygwin Compile of NetBSD 1.6
- From: "Elfyn McBratney" <elfyn-cygwin at exposure dot org dot uk>
- To: "cygwin" <cygwin at cygwin dot com>,"Christos Dritsas" <cgd at sonic dot net>
- Date: Sun, 2 Feb 2003 18:55:16 -0000
- Subject: Re: Cygwin Compile of NetBSD 1.6
- References: <3E3C040C.7000204@sonic.net> <3E3D6371.9090901@sonic.net>
> 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
Regards,
Elfyn McBratney
elfyn@exposure.org.uk
www.exposure.org.uk
--
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/