GCC vs G++

me22 me22.ca@gmail.com
Wed Jun 13 21:35:00 GMT 2007


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



More information about the Gcc-help mailing list