This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
which g++ ?
- To: egcs at cygnus dot com
- Subject: which g++ ?
- From: Takuya Kobayashi <tictak at mail dot utexas dot edu>
- Date: Sun, 8 Nov 1998 18:59:51 -0600 (CST)
Hello. This is probably a stupid question to ask, and I'm embarrased to
ask, but anyway...
I run Linux (Redhat 4.2) and recently installed egcs 1.1b on my system
and had no problems with the installation. But I have one question:
now I have a "g++" binary in both /usr/bin (which was there originally,
obviously) and /usr/local/bin (from the egcs installation). Say I type
something simple like this at the command line:
g++ main.cpp -o main
Which "g++" am I invoking? Does one override the other? It seems like
a stupid question, but nevertheless I needed to know, so....
Any clarification would be greatly appreciated. Thanks ahead of time.
------------------------------------------------------
Takuya Kobayashi
University of Texas at Austin - http://www.utexas.edu