Hi George,

On Wednesday 23 May 2007 19:05:43 Georg Vollnhals wrote:

> >> cmake -i .
>
> Thank you for the hint, this "cmake -i" configuration process  works
> very  nice for me but does not improve the framerates.
>
> > Oh my.  After building OSG with 'Release' and then building FG with -O3,
> > I have never, ever had better frame rates, even with PLIB.
> >
> > Thanks !!!!!
> >
> > Nick
>
> But where do you apply this "-O3" parameter? Configure or Make when
> compiling the FlightGear sources? Thank you very much in advance for your
> help.

If you read the questions when using 'cmake -i .' one of them is what type of 
build to do:

...Debug | Release ...

etc.  Default is NONE.  So you set that to 'Release'.

Then later there is a question about what CXX flags the compiler should use 
when making a 'Release' build.  Default is already '-O3 -DNDEBUG'.    I just 
changed this to '-O3 -march-tbird-athlon' to suit my machine.

That's it!

Nick



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to