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

RE: [Solved] C++ Compilation



 
> 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. 

Thanks for your help,

Byron




Reply to: