Linux Socket Help

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Sun Jul 9 00:51:00 GMT 2000


> > i thought gcc was both a c++ and c compiler.
> 
> They both come as part of the same software package, but there are
> different front-end executables.

Actually, gcc will still invoke the C++ compiler if it recognizes a
file as a C++ file. g++ will compile even .c files as C++, and it will
also link the proper runtime libraries.

Regards,
Martin



More information about the Gcc mailing list