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]

Re: Linux Socket Help


> > 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


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