This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem with compiling


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]