Macs and Doom

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
Const
Posts: 8
Joined: Tue Oct 16, 2007 3:35 pm

Post by Const »

R_R]ASTS[ and I managed to compile ZDoom on Mac OS 10.4 x86. We've done it as a preparatory stage before patching GZDoom. I'm not sure that I'll have time to support this patch in any way (and actually I don't have Mac OS installed on my system).

XCode (set of tools and SDKs for developing on Mac): http://developer.apple.com/tools/download/
Packages that may be needed to compile ZDoom: http://rapidshare.com/files/63056060/forzdoom.7z

As there was no /usr/include/malloc.h we had to use stdlib.h instead:

Code: Select all

ln -s /usr/include/stdlib.h /usr/include/malloc.h
I'm not sure that this change is required, as adding -Dunix probably enables/disables corresponding includes.

To apply the patch use (from zdoom source dir):

Code: Select all

patch -p5 < zdoomacpatch
Use

Code: Select all

make NOASM=1 DEBUG=1
or

Code: Select all

make NOASM=1
to compile zdoom

It lacks sound too. Probably removing -Izlib -IFLAC from the makefile.linux and fixing code which uses FLAC can help.
Attachments
zdoomacpatch.zip
(1.74 KiB) Downloaded 40 times
Post Reply

Return to “General”