VOGONS


First post, by amdi8

User metadata
Rank Newbie
Rank
Newbie

Running latest version of Dosbox (0.6) under Linux Mandrake 9.2.

If I install the version from the RedHat RPM, everything works fine. If I compile it myself from the source code, it runs fine but the sound is really laggy and choppy. Any idea what is going on?

I didn't change any options, just
./configure
make
make install

If there another switch I need to pass to get a similar version to the binary one?

Thanks.

Reply 4 of 4, by hadding

User metadata
Rank Newbie
Rank
Newbie

I had the same problem on Redhat until I adjusted the CXXFLAGS like so :

CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" ./configure

Explanation:

-march=athlon-xp // Sets the architecture.

-O3 // Optimization level. 3 can introduce some unintentional bugs but I've never had any problems with it

-pipe // Speeds up the compile process. No runtime gain

-fomit-frame-pointer // Removes the frame pointer for all functions wich results in a runtime gain but makes debugging impossible on x86's

hope this helps

_h