This is the mail archive of the
mailing list for the Cygwin project.
Re: Problem with compiling
- From: Brian Ford <ford at vss dot fsi dot com>
- To: Matt Junkemail <mattsjunkemail at yahoo dot com>
- Cc: cygwin at cygwin dot com
- Date: Tue, 9 Dec 2003 10:01:33 -0600 (CST)
- Subject: Re: Problem with compiling
- References: <email@example.com>
Please take a look at http://www.cygwin.com/problems.html.
There you will find helpful tips about how to compose a good problem
report, along with a list of the required information about your
environment that you need to attach.
On Mon, 8 Dec 2003, Matt Junkemail wrote:
> 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.
I don't exactly know what you meant by this. But, if all you want to do
is compile for mingw, then use "gcc/g++/etc. -mno-cygwin" with the
corresponding gcc-mingw[-*] Cygwin packages installed.
> When I try to compile a simple hello.cpp within the
> /bin directory with:
> gcc -c hello.cpp
I would recommend using g++ for .cpp files, but gcc should work too.
> 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
These are the same. See:
> I am assuming that I don't have the path variable set
You are probably missing the non-mingw (ie. Cygwin) gcc packages.
Including the information requested in the problem report URL above would
Try using the Cygwin setup program again, and make sure you have
everythig applicable in the following selected:
gcc 3.3.1-3 OK
gcc-ada 3.3.1-3 OK
gcc-g++ 3.3.1-3 OK
gcc-g77 3.3.1-3 OK
gcc-gpc 3.3.1-3 OK
gcc-java 3.3.1-3 OK
gcc-mingw 20030911-4 OK
gcc-mingw-ada 20031020-1 OK
gcc-mingw-core 20031020-1 OK
gcc-mingw-g++ 20031020-1 OK
gcc-mingw-g77 20031020-1 OK
gcc-mingw-gpc 20031020-1 OK
gcc-mingw-java 20031020-1 OK
gcc-mingw-objc 20031020-1 OK
gcc-objc 3.3.1-3 OK
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html