This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Linux Socket Help
- To: rra at stanford dot edu
- Subject: Re: Linux Socket Help
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Sun, 9 Jul 2000 09:46:31 +0200
- CC: rgilfeth at gmu dot edu, gcc at gcc dot gnu dot org
- References: <3967B8BC.DBA94524@gmu.edu> <ylhfa0dw7i.fsf@windlord.stanford.edu>
> > 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