Discussion

frobme, 2008/09/16 11:14

Hey there,

How are you producing a fat binary of this? There seems to be no xcode project in the Dosbox make system, and when I build CVS I get an app that works but OSX treats as a terminal app (it launches a terminal, then Dosbox appears). I'm just curious what build method you used and/or environment.

-Frob

Marcus Herbert, 2008/10/18 10:34

Well.. all you can do within the Xcode GUI can be done on the terminal using Makefiles and tools as well. It's just that I am an oldsch00l UNIX guy and it's easier for me to deal with that than with a modern GUI.

But some day I am going to put it all into an Xcode project file and with some luck it will be put into the official source.

If you want to create a fat binary yourself then read the manpage for the tool “lipo”.

lord_muad_dib, 2008/12/12 17:10

hello! great build! can you put the ne2000 ethernet emulation patch in it? that would be awesome! http://home.arcor.de/h-a-l-9000/ne2kstuff/db_ne2000.html

Marcus Herbert, 2008/12/25 10:43

OK, I'll take a look at it (although I fear that it is non-trivial).

DOSMonkey, 2008/12/27 00:34

Hi! Nice work, can you tell me how you built it with a static SDL (and if you have even more time, how you built it UB) ? Everytime I built it, it's with a dynamic SDL… Thanks in advance.

Marcus Herbert, 2009/01/16 08:20

I described the process of compiling a static binary in a different DOSBox posting on this website already. All you need are static libraries named libSDL.a, libSDLmain.a, libSDL_mixer.a (or was it libSDL_sound.a?) and so on. The configure script generated Makefile doesn't care about static or dynamic linking so you have to do the final linking stage by hand. The key is to replace all -lFOO with /path/to/libFOO.a. This sounds easy but you need to have all libraries in the correct order for the linker to work. Also you will have to link a few OS X frameworks the static libraries are depending on. Take a look at that posting of mine I mentioned earlier.

DOSMonkey, 2009/01/18 10:44

Ahh , thanks, found your post earlier and tested it but it always failed but now I've changed something so it works with the latest CVS instead of DOSBox 0.65… Now I'm gonna try to make it universal binary with something in the makefile and if that doesn't work, I'll try -lipo

Cheers!

Enter your comment
If you can't read the letters on the image, download this .wav file to get them read to you.