delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/09/02:13:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <20031209071233.38792.qmail@web41312.mail.yahoo.com>
Date: Mon, 8 Dec 2003 23:12:33 -0800 (PST)
From: Matt Junkemail <mattsjunkemail AT yahoo DOT com>
Subject: Problem with compiling
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

Hi all,

I can't seem to get gcc to compile my simple file.

[I am new at cygwin and gcc, being a Windows and
Visual C++ refugee. Forgive my ignorance.]

I did the web install of Cygwin and picked out all the
developer packages.  I have gcc.exe in /bin.

I also have mingw installed.

When I try to compile a simple hello.cpp within the
/bin directory with:

gcc -c hello.cpp

I get the following error:

gcc: installation problem, cannot exec 'cc1plus': No
such file or directory

If I search for cc1plus*, I find two exe's in
./lib/gcc-lib/i686-pc-mingw32/3.3.1
./use/lib/gcc-lib/i686-pc-mingw32/3.3.1

I am assuming that I don't have the path variable set
correctly?

If I echo $PATH, I have:

/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin: ...and
all the Visual studio paths

Can anyone help?

My goal is to use eclipse with gcc.  Would you have
any other advice for setting that up?  Or put me
towards an appropriate FAQ?

Thanks a lot,
Matt.


__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019