GCC 4.2.2 with -mno-cygwin

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Sun Nov 4 02:21:00 GMT 2007


On Sat, Nov 03, 2007 at 08:59:12AM -0700, n.torrey.pines@gmail.com wrote:
>I compiled and installed GCC 4.2.2 in /usr/local seemingly
>successfully. However, using -mno-cygwin, I get an error:
>
>$ gcc -mno-cygwin hello_world.c
>gcc: error trying to exec 'cc1': execvp: No such file or directory
>
>Indeed, /usr/local/lib/gcc/i686-pc-mingw32 is missing altogether, and
>/usr/local/lib/gcc/i686-pc-cygwin/4.2.2/ does not contain cc1.
>
>Should I have taken some special steps during the configuration to
>enable -mno-cygwin? I couldn't find any information about this.

You should just be able to install the correct gcc/mingw packages but
whatever you install, no cygwin package puts stuff in /usr/local.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list