This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: PROBLEM WITH CONFIGURING GCC WHEN G++ WORKS
"Tobe Olisa" wrote:
>
> > Hello folks,
> > I do have a 'freshman situation' with running the
> > gcc-3.3.3 application included with Cygwin.
> > FACTS: I just performed a directory installation of
> > the latest CYGWIN DLL:release version 1.5.16-1 on an
> > Intel P4 WinXp HomeEd machine. I basically enabled
> > the
> > installation of all the included packages.
> >
> > On performing a C++ compilation using g++, I get no
> > errors, and my codes compile and execute cleanly.
> > However, on using gcc - which I actually need to
> > use,
> > I get a screenful of error messages, specifically
> > these:
> >
> > [...]
Errm... g++ invokes the C++ compiler, gcc the C compiler. So if it's C++ code, use g++.