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!) > > <snip> > > You should be using g++ for both of these commands. > > Thanks, feel a bit stupid now. I think I was confused cause man g++ > brings up the man page for gcc, so I thought they were the same. > > > > > In a makefile you really want to use variables, anyway. > > > > Yeah, I know, I'm slowly learning things bit by bit.
Of course, you can always use gcc if you remeber to link against libstdc++ (I think). -Roberto -- Roberto C. Sanchez http://familiasanchez.net/~roberto
pgpyURQITFv4M.pgp
Description: PGP signature