Re: Forcing gcc to compile c++ programs...?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yeah, I think I'm being required to use gcc, not g++. What would I need
to explicitly include in order to use gcc?

Justin

On Mon, 2003-09-15 at 16:31, Eljay Love-Jensen wrote:
> Hi Justin,
> 
> If it's a C++ program, are you using 'g++' instead of 'gcc'?
> 
> The 'g++' one includes all the C++ related stuff for linking, whereas 'gcc' does not.  If you wanted to use 'gcc' you have to include the C++ stuff explicitly.
> 
> --Eljay
> 
> 


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux