This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

which g++ ?


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]