29 Mar
2005
29 Mar
'05
11:39 a.m.
Eyal Inbar wrote:
Thank It's in CPPFLAGS. but i found it after i look into the Makefile and try some arguments. Now i found that in /root/.bash_profile
Doing everything as root is not a great idea.
i set CXX to be my compiler command export CXX="g++ -ftemplate-depth-31" and it works with all the projects
CXX is just supposed to name the compiler to use. You should put options in the CXXFLAGS variable. However, if you're going to be sharing this source with anyone else, it may be as well to define CXXFLAGS in the Makefile so that they don't have to go through this. (Though that assumes they will also be using g++.) Ben.