This is the mail archive of the 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

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

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,

Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.

Unsubscribe info:
Problem reports:

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