VOGONS


First post, by dada

User metadata
Rank Member
Rank
Member

Just a quick note.

I wanted to compile DOSBox on OSX 10.7 in order to fix fullscreen, but couldn't figure out why it kept failing. Since I figured it out and couldn't find a lot of information on this on Google, I thought I'd post my findings here. (Hopefully Google will pick this up.)

Turns out a 32-bit compile is best due to the fact that 64-bit doesn't work all that well yet (at least, the dynamic core isn't built for it at all, which is why a 64-bit compile fails unless you turn the dynamic core off). And in order to make a 32-bit bin, you need a 32-bit SDL as well. DOSBox only supports the 1.2 branch, so get the latest version here. It's actually simple: you just need to set C[XX]FLAGS to "-arch i386":

$ export CFLAGS="-arch i386"
$ export CXXFLAGS=$CFLAGS

Use that to compile and install SDL first, then DOSBox.

Note that fullscreen works just fine with the 0.74 binary on OSX 10.6 and before.

Reply 1 of 3, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

You could have used the search and found the discussion here and what to do to 'fix' it. Also why 64bit isn't that good... 😉

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 2 of 3, by dada

User metadata
Rank Member
Rank
Member
Dominus wrote:

You could have used the search and found the discussion here and what to do to 'fix' it. Also why 64bit isn't that good... 😉

Yeah, I should have. Didn't occur to me to search this forum for SDL. Then again, I am a noob.

Reply 3 of 3, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

I wouldn't have searched for sdl but 'dosbox os x fullscreen compile' could have been fruitful (don't know if it really is since vogons search is not very good).
Also I provide dosbox svn snapshots for OS X that have this fix for some time now. See the snapshots thread in the dev forum

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper