CFLAGS and optimisations

Get help with programming issues.

Moderator: PPS-Leaders

Post Reply
Baron Vladimir Harkonnen
Posts: 258
Joined: Wed Nov 01, 2006 7:58 pm
Location: your mind

CFLAGS and optimisations

Post by nicolasc » Mon May 07, 2007 6:55 pm

I am asking out of pure curiosity...

What CFLAGS/CXXFLAGS are you using to compile Orxonox, and what are the effects. To me it seems, that this has some effect... (often to the worse)

Code: Select all

-march=pentium-m -O2 -pipe -falign-functions=64 -ggdb -g2 -fvisibility-inlines-hidden
-ggdb and -g2 are Orxonox specific, the rest I use on my gentoo systems without any incidents.

BOFH Excuse #212: Of course is doesn't work. We've performed a software upgrade.

Human Space Navy Major
Posts: 40
Joined: Tue Oct 24, 2006 5:52 pm

Post by chrigi » Tue May 08, 2007 7:06 am

I use

Code: Select all

-ggdb3 might get me better backtraces
-D__STDC_CONSTANT_MACROS is needed to compile Orxonox with my ffmpeg headers

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest