This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: Can't run Mingw gcc from Cygwin
- To: cygwin at cygwin dot com
- Subject: RE: Can't run Mingw gcc from Cygwin
- From: Carl Hetherington <cth at carlh dot net>
- Date: Thu, 5 Jul 2001 12:49:55 +0100 (BST)
On Thu, 5 Jul 2001, Moore, Paul wrote:
> From: Mader, Alexander [mailto:alexander.mader@niles.de]
> > I faced similar problems with -mno-cygwin. So I installed the
> > mingw stuff and changed the PATH in ~/.bashrc to
> > /cygdrive/where_mingw_is:$PATH and everything worked fine.
> > If I have to compile with pure cygwin I comment out this line.
>
> That's what I did, but it doesn't work...
>
> Administrator@UKDCW5163 ~
> $ export PATH=/cygdrive/c/applications/mingw/bin:$PATH
>
> Administrator@UKDCW5163 ~
> $ gcc -v
> Using builtin specs.
> gcc version 2.95.3-4 (mingw special)
>
> Administrator@UKDCW5163 ~/gnu/id-utils-3.2d
> $ gcc -o x.exe x.c
> gcc.exe: installation problem, cannot exec `cpp0': No such file or directory
>
> I'll reinstall Cygwin, just to be sure it isn't something silly...
> [pause, punctuated by the sound of disks thrashing...]
> Nope, it's still a problem.
Its a long shot, but...
You haven't got a new-but-not-the-newest version of MinGW have you?
There was a problem with the last but one release that cause this "cannot
exec 'cpp0'" malarky.
There's a patch available from the MinGW sourceforge site.
Carl
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/