VOGONS


First post, by engla

User metadata
Rank Newbie
Rank
Newbie

Hi

I'm trying to compile dosbox 0.73 directly from the website on my debian/powerpc system (using debian testing). The compilation requires lots of memory and goes on to compile some files, until stopping on one file, simply growing memory use without "ever" (1-2 hours waited) finishing. So I can't compile this at all. I have dosbox 0.72 installed via binary packages from debian.

Anyone seen this? I've tried with gcc v4.3 (default) and 4.2

Reply 1 of 7, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

disable memory inlining (check the configure flags), it eventually continues

Reply 2 of 7, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

which file specificly ?
core_prefetch ? That one brings down my machine almost to its knees as well

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

Reply 3 of 7, by CommanderKeen

User metadata
Rank Newbie
Rank
Newbie

So it's normal that core_prefetch takes like everything out of my Mac? I can barely move my mouse while compiling that :p. (1,5 GHz PowerBook G4, 512mb RAM)

Reply 4 of 7, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

well at my place the Out of Memory killer kills almost everything and I have 2 GB of RAM when compiling.
I think it is somehow related to the GCC version though.

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

Reply 5 of 7, by engla

User metadata
Rank Newbie
Rank
Newbie

yes, of course it is the same file. I only have 768M RAM so I think it gets into paging and simply ..won't finish in my lifetime.

I found an option to *enable* memory inlining "--enable-core-inline" (must be disabled by default then huh?) so I'll try that.

Basically I want to get Dungeon Keeper to work on my linux/powerpc ibook, 0.73 is a last hope but I still think the emulation is too slow sadly. The proc is only 1.2 GHz. Works fine only on newer macbook/x86 that I have tried.

Reply 6 of 7, by engla

User metadata
Rank Newbie
Rank
Newbie

applying too much logic wasn't successful. simply configuring with --disable-core-inline instead.. now it compiles past the point!

Reply 7 of 7, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

for core_prefetch remove the INLINE from FetchD/W/B calls and it doesn't use over 1Gb of memory when compiling.

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