* gcc -mno-cygwin fails @ 2003-09-25 15:09 Gregory C. Sharp 2003-09-25 15:09 ` Gerrit P. Haase 2003-09-25 15:22 ` Igor Pechtchanski 0 siblings, 2 replies; 7+ messages in thread From: Gregory C. Sharp @ 2003-09-25 15:09 UTC (permalink / raw) To: cygwin 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 $ Any workaround is appreciated. Regards, Greg -- Gregory C. Sharp Research Fellow, Mass General Hospital http://gray.mgh.harvard.edu -- 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/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: gcc -mno-cygwin fails 2003-09-25 15:09 gcc -mno-cygwin fails Gregory C. Sharp @ 2003-09-25 15:09 ` Gerrit P. Haase 2003-09-25 16:34 ` Christopher Faylor 2003-09-25 15:22 ` Igor Pechtchanski 1 sibling, 1 reply; 7+ messages in thread From: Gerrit P. Haase @ 2003-09-25 15:09 UTC (permalink / raw) To: Gregory C. Sharp; +Cc: cygwin 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/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: gcc -mno-cygwin fails 2003-09-25 15:09 ` Gerrit P. Haase @ 2003-09-25 16:34 ` Christopher Faylor 0 siblings, 0 replies; 7+ messages in thread From: Christopher Faylor @ 2003-09-25 16:34 UTC (permalink / raw) To: cygwin On Thu, Sep 25, 2003 at 05:09:40PM +0200, Gerrit P. Haase wrote: >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/ PLEASE DO NOT DO THIS! If there is a problem in the packaging then we fix the packaging. We don't give advice on how to work around the packaging. Cheesh. In this case, it seems like the gcc-mingw package wasn't actually installed. If standard problem reporting procedures had been employed (attaching cygcheck output), we would know this for sure. cgf -- 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/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: gcc -mno-cygwin fails 2003-09-25 15:09 gcc -mno-cygwin fails Gregory C. Sharp 2003-09-25 15:09 ` Gerrit P. Haase @ 2003-09-25 15:22 ` Igor Pechtchanski 2003-09-25 15:38 ` Greg Sharp 1 sibling, 1 reply; 7+ messages in thread From: Igor Pechtchanski @ 2003-09-25 15:22 UTC (permalink / raw) To: Gregory C. Sharp; +Cc: cygwin On Thu, 25 Sep 2003, Gregory C. Sharp wrote: > 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 > $ > > Any workaround is appreciated. > > Regards, > Greg Did you install the "gcc-mingw" package? Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- 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/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: gcc -mno-cygwin fails 2003-09-25 15:22 ` Igor Pechtchanski @ 2003-09-25 15:38 ` Greg Sharp 2003-09-25 15:45 ` Igor Pechtchanski 0 siblings, 1 reply; 7+ messages in thread From: Greg Sharp @ 2003-09-25 15:38 UTC (permalink / raw) To: cygwin Igor Pechtchanski wrote: > On Thu, 25 Sep 2003, Gregory C. Sharp wrote: >>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 >>$ > > Did you install the "gcc-mingw" package? > Igor I have gcc-mingw-20030911-2, which "setup" lists as the most recent. From Gerrit's suggestion about symlinks, I try this... > 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/ But I don't even have a /usr/lib/gcc-lib/i686-pc-mingw/3.3.1 directory! $ pwd /usr/lib/gcc-lib/i686-pc-mingw32 $ ls 3.2 $ So I am thinking that downgrading to gcc package 3.2-3 will fix it. Let's try... $ gcc foo.c $ gcc -mno-cygwin foo.c $ Wow, great! Thanks for the hints to get gcc working again!! One last question, I'm always interested in trying the latest packages, so is there a gcc-mingw that matches the gcc 3.3.1? Greg -- Gregory C. Sharp Research Fellow, Mass General Hospital http://gray.mgh.harvard.edu -- 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/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: gcc -mno-cygwin fails 2003-09-25 15:38 ` Greg Sharp @ 2003-09-25 15:45 ` Igor Pechtchanski 2003-09-25 16:14 ` Greg Sharp 0 siblings, 1 reply; 7+ messages in thread From: Igor Pechtchanski @ 2003-09-25 15:45 UTC (permalink / raw) To: Greg Sharp; +Cc: cygwin Greg, On Thu, 25 Sep 2003, Greg Sharp wrote: > Igor Pechtchanski wrote: > > On Thu, 25 Sep 2003, Gregory C. Sharp wrote: > >>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 > >>$ > > > > Did you install the "gcc-mingw" package? > > Igor > > I have gcc-mingw-20030911-2, which "setup" lists as the most recent. > > From Gerrit's suggestion about symlinks, I try this... > > > 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/ > > But I don't even have a /usr/lib/gcc-lib/i686-pc-mingw/3.3.1 directory! I believe both I and Gerrit made a typo in the directory name. It should be /usr/lib/gcc-lib/i686-pc-mingw32 (not i686-pc-mingw). > $ pwd > /usr/lib/gcc-lib/i686-pc-mingw32 > $ ls > 3.2 > $ Doesn't look like you have gcc-mingw-20030911-2 installed. > So I am thinking that downgrading to gcc package 3.2-3 will fix it. > Let's try... > > $ gcc foo.c > $ gcc -mno-cygwin foo.c > $ > > Wow, great! Thanks for the hints to get gcc working again!! > > One last question, I'm always interested in trying the latest > packages, so is there a gcc-mingw that matches the gcc 3.3.1? > > Greg There is (gcc-mingw-20030911-2), but it's apparently broken. Following Gerrit's suggestions (substituting i686-pc-mingw32 for i686-pc-mingw) should give you a working 3.3.1 gcc-mingw. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- 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/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: gcc -mno-cygwin fails 2003-09-25 15:45 ` Igor Pechtchanski @ 2003-09-25 16:14 ` Greg Sharp 0 siblings, 0 replies; 7+ messages in thread From: Greg Sharp @ 2003-09-25 16:14 UTC (permalink / raw) To: cygwin Igor Pechtchanski wrote: >>I have gcc-mingw-20030911-2, which "setup" lists as the most recent. >> <snip> >> >>$ pwd >>/usr/lib/gcc-lib/i686-pc-mingw32 >>$ ls >>3.2 >>$ > > Doesn't look like you have gcc-mingw-20030911-2 installed. Hmmm, interesting comment. So I use "setup" to "reinstall" gcc-mingw-20030911-2, now I get this: $ pwd /usr/lib/gcc-lib/i686-pc-mingw32 $ ls 3.2 3.3.1 Could be a "setup" related problem? Thank you for all the help and advice. You guys are awesome (and so is cygwin)! Greg -- Gregory C. Sharp Research Fellow, Mass General Hospital http://gray.mgh.harvard.edu -- 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/ ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-09-25 16:21 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2003-09-25 15:09 gcc -mno-cygwin fails Gregory C. Sharp 2003-09-25 15:09 ` Gerrit P. Haase 2003-09-25 16:34 ` Christopher Faylor 2003-09-25 15:22 ` Igor Pechtchanski 2003-09-25 15:38 ` Greg Sharp 2003-09-25 15:45 ` Igor Pechtchanski 2003-09-25 16:14 ` Greg Sharp
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).