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 2 of 4, by amdi8

User metadata
Rank Newbie
Rank
Newbie
Qbix wrote:

uhm dunno try strip -s

That does strip -s do? Is that something that I should type as part of the configure script, or the makefile? Sorry, I'm fairly new to the whole process.
Thanks.

Reply 3 of 4, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

you do it on the dosbox executable
strip -s dosbox

Water flows down the stream
How to ask questions the smart way!

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