View Full Version : Cflags with scons?
ZooRocket 01-24-2008, 12:39 PM I am new to compileing blender from the SVN. I was hoping someone could explain to me how to compile with scons using cflags. I am trying to make an optimized build with specific cflags for my paticular cpu.
Any help would be great.
Thank you.
|
|
I am new to compileing blender from the SVN. I was hoping someone could explain to me how to compile with scons using cflags. I am trying to make an optimized build with specific cflags for my paticular cpu.
Any help would be great.
Thank you.
Try setting CFLAGS and CXXFLAGS variables before running scons.
-march and -mcpu flags are what you want.
Also, -O flags are used for optimization, for speed vs size examples....
See gcc documentation.
ZooRocket
01-25-2008, 11:04 PM
Thank you very much AxeZ. I will check out the gcc documents.
CGTalk Moderation
01-25-2008, 11:04 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.