Quote:
Could you please list those optimization switches here?
|
Code:
export CFLAGS='-O3 -fomit-frame-pointer -march=prescott -mfpmath=sse,387 -momit-leaf-frame-pointer -ffast-math -finline-functions -finline-functions-called-once'
export CXXFLAGS=$CFLAGS
(Maybe -O3 already implies some of other options, but this does work
)
As you can see, i used them on my P4 Prescott. If your '-march' target does not imply -msse* and -mmmx while your CPU supports any of these extensions, be sure to add these switches too.
And, i'm not very sure if it's really only switches that improved performance, maybe latest wine (1.1.18 for now) version also was improved since i compiled previous version, though this version is the first one, where i used optimization switches.
There were some other tweaks including configuring wine with winecfg and editing registry. You can find them on the net (including LQ, of course ).
A good signal of performance improvement is that, when i used non-optimized version of wine, in GTASA i couldn't get off the rails on the train because of low frame rate and, as a result, infrequent train acceleration, now i am able to do this
Quote:
Install checkinstall. Then instead of using "sudo make install" you can use "sudo checkinstall".
|
Thanks, i'll try that.