Of course, you can always use gcc if you remeber to link against
libstdc++ (I think).
gcc is the universal front-end. It will compile and link anything supported
by the compiler collection.
However that said g++ is better for both compiling and linking c++ code,
because it uses slightly differ
On Wed, Sep 28, 2005 at 11:32:44AM +1000, Byron Hillis wrote:
>
> > You're using the C compiler front-end to compile and link C++ code.
> > Don't do that.
> >
> > You should use the C++ compiler front-end to compile and link
> > C++ code (especially link!)
> >
> > You should be using g++ for b
> You're using the C compiler front-end to compile and link C++ code.
> Don't do that.
>
> You should use the C++ compiler front-end to compile and link
> C++ code (especially link!)
>
> You should be using g++ for both of these commands.
Thanks, feel a bit stupid now. I think I was confused
3 matches
Mail list logo