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/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,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/