This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
c++ vs g++ [Re: Gcc compiler b18 newbie probs]
- To: gnu-win32 at cygnus dot com
- Subject: c++ vs g++ [Re: Gcc compiler b18 newbie probs]
- From: Mumit Khan <khan at xraylith dot wisc dot edu>
- Date: Wed, 10 Dec 1997 20:19:15 -0600
"Earnie Boyd" <earnie_boyd@hotmail.com> writes:
>
> > - use the right compiler driver to compile/link programs. For C
> programs,
> > use gcc, for C++ use c++ and for F77 use g77.
>
> ^^^ shouldn't this be g++
>
Historically these two had a subtle difference: g++ implicitly linked
with libg++ while c++ did not. With egcs-1.00, they're equivalent; even
before the advent of egcs, I never considereed libg++ as a standard
package, and preferred not to use g++ as the C++ driver. I guess I
simply don't like unneeded libraried implicitly linked in that standard
conforming code(*) does not need.
I haven't checked the last FSF gcc-2.8.0 snapshot to check if the
distinction is still there or not.
Mumit
* Now we can finally (almost) use the term "standard conforming" when
talking about C++. What a relief.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".