M
Mike Farmer
Newbie to Linux that is. Please have mercy on a person about to move from
Windows VC++/Borland CBuilder to Linux and hold the flames.
What is the difference between g++ and gcc ??
My new books are split between the two. For a while I thought there was
no difference since "man g++" and "man gcc" seem to bring up the same page.
But, just playing around with a very (VERY) simple main.cpp like this...
#include <iostream>
using namespace std;
int main()
{
cout << "Test\n";
return 0;
}
shows that g++ compiles it just fine and gcc chokes on it.
So, they are different - I now know that much. But is one newer than the
other, or are they from parallel GNU developers. Or what?
Thanks
MF
Windows VC++/Borland CBuilder to Linux and hold the flames.
What is the difference between g++ and gcc ??
My new books are split between the two. For a while I thought there was
no difference since "man g++" and "man gcc" seem to bring up the same page.
But, just playing around with a very (VERY) simple main.cpp like this...
#include <iostream>
using namespace std;
int main()
{
cout << "Test\n";
return 0;
}
shows that g++ compiles it just fine and gcc chokes on it.
So, they are different - I now know that much. But is one newer than the
other, or are they from parallel GNU developers. Or what?
Thanks
MF