Subject: Re: gcc -mno-cygwin fails
From: "Gerrit P. Haase" <[email-masked]>
To: "Gregory C. Sharp" <[email-masked]>
Cc: [email-masked]
Date: Thu, 25 Sep 2003 17:09:40 +0200

Gregory schrieb:

> Following up with recent problems noted about g77 -mno-cygwin, 
> the same problem occurs for gcc.

> I am using the newest packages:  gcc-3.3.1-2, gcc-mingw-20030911-2

> $ gcc foo.c
> $ gcc -mno-cygwin foo.c
> gcc: installation problem, cannot exec `cc1': No such file or directory
> $ 

Make some symlinks in the directory:
/usr/lib/gcc-lib/i686-pc-mingw/3.3.1/
to all the executables in this directory:
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/

as it was in 3.2-x:
$ ls -l /usr/lib/gcc-lib/i686-pc-mingw32/3.2
total 143
-rwxr-xr-x    1 gerrit   Domänen-    89490 Aug 17  2002 SYSCALLS.c.X*
lrwxrwxrwx    1 gerrit   Domänen-      144 Aug 28 12:05 cc1.exe -> ../../i686-pc-cygwin/3.2/cc1.exe
lrwxrwxrwx    1 gerrit   Domänen-      166 Aug 28 12:05 cc1obj.exe -> ../../i686-pc-cygwin/3.2/cc1obj.exe
lrwxrwxrwx    1 gerrit   Domänen-      152 Aug 28 12:05 cc1plus.exe -> ../../i686-pc-cygwin/3.2/cc1plus.exe
lrwxrwxrwx    1 gerrit   Domänen-      146 Aug 28 12:05 cpp0.exe -> ../../i686-pc-cygwin/3.2/cpp0.exe
lrwxrwxrwx    1 gerrit   Domänen-      150 Aug 28 12:05 crtbegin.o -> ../../i686-pc-cygwin/3.2/crtbegin.o
lrwxrwxrwx    1 gerrit   Domänen-      146 Aug 28 12:05 crtend.o -> ../../i686-pc-cygwin/3.2/crtend.o
lrwxrwxrwx    1 gerrit   Domänen-      146 Aug 28 12:05 f771.exe -> ../../i686-pc-cygwin/3.2/f771.exe
drwxrwxrwx+   3 gerrit   Domänen-     4096 Aug 28 12:05 include/
-rwxr-xr-x    1 gerrit   Domänen-    55372 Aug 17  2002 libgcc.a*
lrwxrwxrwx    1 gerrit   Domänen-      140 Aug 28 12:05 specs -> ../../i686-pc-cygwin/3.2/specs
lrwxrwxrwx    1 gerrit   Domänen-      154 Aug 28 12:05 tradcpp0.exe -> ../../i686-pc-cygwin/3.2/tradcpp0.exe

Gerrit
-- 
=^..^=

--
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/