This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Re: GCC vs G++


On 12/06/07, NightStrike <nightstrike@gmail.com> wrote:
So the way I read this is that I *could* use gcc for compiling .cpp
files that use c++ libraries, correct?  It never seems to work, even
for a simple "Hello, world."

On my platform,
gcc some_c++_file.cpp -lstdc++
seems to behave the same as
g++ some_c++_file.cpp

I don't know why one would want to use the prior, however.

~ Scott


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