Re: [Solved] C++ Compilation

2005-09-28 Thread Joe Smith
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

Re: [Solved] C++ Compilation

2005-09-27 Thread Roberto C. Sanchez
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

RE: [Solved] C++ Compilation

2005-09-27 Thread Byron Hillis
> 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