🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: csu.unix.linux
Article #125

Re: where did it go?

#125
From: Mike
Date: Tue, 01 Feb 2000 00:00
28 lines
1967 bytes
mdwyer@holly.ColoState.EDU (Michael Dwyer):
> : I believe cc (c compiler) is what generally comes on a Unix box.  With linux,
> : cc is just a symlink to gcc (GNU c compiler).  Use g++ when you want to compile
> : anything c++ish.  From the man page, 'g++ is a script to call gcc with options
> : to recognize C++' So, when it comes down to it, they are really all the same
> : thing on linux.  
> 
> Except I think on some machines, cc == gcc, and g++ == egcs.  Its all a
> vicious conspiracy.  Suffice to say, in the Bad Old Days (tm) cc was
> a symlink to gcc, and g++ was a symlink to gcc.  Gcc would act a little
> differently depending on what you called it.
> 

Good call, on my system g++ isn't a script.  The man page must need to be
updated.  I wonder why the move was made from gcc to egcs.  Are gcc packages
still being developed, or did they just rename it to egcs?

 [Tue, 1:32pm]  ~  # rpm -qf /usr/bin/gcc /usr/bin/cc /usr/bin/g++
egcs-1.1.2-12
egcs-1.1.2-12
egcs-c++-1.1.2-12
 [Tue, 1:32pm]  ~  # ls -l /usr/bin/gcc /usr/bin/cc /usr/bin/g++
lrwxrwxrwx   1 root     root            3 Jan  8  1999 /usr/bin/cc -> gcc
-rwxr-xr-x   2 root     root        66188 Mar 21  1999 /usr/bin/g++
-rwxr-xr-x   3 root     root        64796 Mar 21  1999 /usr/bin/gcc

--
Mike Grandin
Technical Details
Message-ID: <slrn89eh3a.236.mike@localhost.localdomain>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3891AD13.26453051@holly.colostate.edu> <slrn894blm.ll1.mike@localhost.localdomain> <3892BA29.4F6F30EF@holly.colostate.edu> <slrn895u75.ra3.mike@localhost.localdomain> <38944316@news.ColoState.EDU>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1159f7,40fb624d1c14100a
X-Google-Attributes: gid1159f7,public
From: mike@www.intrig.com (Mike)
Subject: Re: where did it go?
Date: 2000/02/01
Message-ID: <slrn89eh3a.236.mike@localhost.localdomain>
X-Deja-AN: 580495401
References: <3891AD13.26453051@holly.colostate.edu> <slrn894blm.ll1.mike@localhost.localdomain> <3892BA29.4F6F30EF@holly.colostate.edu> <slrn895u75.ra3.mike@localhost.localdomain> <38944316@news.ColoState.EDU>
X-Trace: 1 Feb 2000 13:39:08 -0700, dialup0468.ppp.colostate.edu
User-Agent: slrn/0.9.5.4 (UNIX)
Reply-To: mike@www.intrig.com
Newsgroups: csu.unix.linux