This is the mail archive of the cygwin mailing list for the Cygwin 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]

Re: GCC 4.2.2 with -mno-cygwin


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/


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