Geoffrey Lee wrote:
> > It's the same thing.  gcc detects that you're doing c++ based on file
> > extension I believe
> >
> 
> Uhh, kind of.
> 
> Say ...
> 
> -- <cut> --
> #include <iostream>
> 
> int main () {
>         cout << "Hello world" << endl;
>         return 0;
> }
> 
> --</cut> --
> 
> When you use g++ it will work but not with gcc since ld will barf (At least
> for me (tm))
> 
> --
> Geoff

[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)


Steve Fox
http://k-lug.com

Reply via email to