delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/12/11/08:04:49

From: khan AT xraylith DOT wisc DOT edu (Mumit Khan)
Subject: Re: c++ vs g++ [Re: Gcc compiler b18 newbie probs]
11 Dec 1997 08:04:49 -0800 :
Message-ID: <9712111548.AA03306.cygnus.gnu-win32@modi.xraylith.wisc.edu>
References: <19971211123624 DOT 27195 DOT qmail AT hotmail DOT com>
To: gnu-win32 AT cygnus DOT com

"Earnie Boyd" <earnie_boyd AT hotmail DOT com> writes:
> I didn't realize that the c++ option was available.  I believe however 
> that the c++.exe and g++.exe supplied from cygnus are the same file with 
> different names.  I base this on exec "cmp -c /bin/g++.exe /bin/c++.exe" 
> not returning anything.

On systems that support linking, they're the same file. On Win32, they're
copies. Until recently, the program would include the different libraries
depending on what name it was called with (g++ or c++), much like what
gzip and gunzip do.

with egcs, there is *no* difference between c++ and g++. Those who want to 
use libg++, should now use:
    
    % c++ -o blah.exe blah.o -lg++

Mumit
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019