Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Thu, 5 Jul 2001 12:49:55 +0100 (BST) From: Carl Hetherington X-Sender: cth103 AT glenlivet DOT ohm DOT york DOT ac DOT uk To: cygwin AT cygwin DOT com Subject: RE: Can't run Mingw gcc from Cygwin In-Reply-To: <714DFA46B9BBD0119CD000805FC1F53B01B5AED3@ukrux002.rundc.uk.origin-it.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 5 Jul 2001, Moore, Paul wrote: > From: Mader, Alexander [mailto:alexander DOT mader AT niles DOT 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 AT UKDCW5163 ~ > $ export PATH=/cygdrive/c/applications/mingw/bin:$PATH > > Administrator AT UKDCW5163 ~ > $ gcc -v > Using builtin specs. > gcc version 2.95.3-4 (mingw special) > > Administrator AT 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/