On Wed, Sep 13, 2000 at 07:48:41AM -0500, Steve Fox wrote:
> [drfickle@potato remotehost_applet-0.2.0]$ ll `which gcc`
> lrwxrwxrwx    1 root     root           17 Aug 25 17:12 /usr/bin/gcc ->
> /usr/bin/colorgcc*
> 
> -- [drfickle@potato remotehost_applet-0.2.0]$ ll /usr/bin/g++
> lrwxrwxrwx    1 root     root           17 Aug 25 17:12 /usr/bin/g++ ->
> /usr/bin/colorgcc*
> 
> 
> See, it's the same thing ;0)

Yeah and mailq is just a symlink to /usr/lib/sendmail.  gcc can detect the
different name it is being called with.  Ala the argv array.

As I understand it g++ causes gcc to default to having some additional  options
to put it in "C++ mode."  And the very first sentence of the g++ manpage seems
to agree:

       The C and C++ compilers are integrated; g++ is a script to
           call gcc with options to  recognize  C++.

The man page also doesn't say anything about filename extentions being used to
determine the mode.  It mentions what extensions they use but it doesn't say
that gcc uses that to recognize them.  But then again maybe it's implied. 

*shrug*

I'd use g++ since that is the "defacto standard."

-- 
Ben Reser <[EMAIL PROTECTED]>
http://ben.reser.org

"Heuristics are bug ridden by definition. If they didn't
have bugs, then they'd be algorithms." 


Reply via email to