Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mckyvlle

macrumors 6502a
Original poster
Nov 21, 2007
575
5
London, UK
Has anyone manage to get this old-skool classic to run on an Intel Mac?

I see that EDuke32 supposedly works on OS X, however they don't have a binary for download.

I tried compiling the source myself, but even after satisfying the dependencies, it aborts with the following error:
Code:
ld: absolute addressing (perhaps -mdynamic-no-pic) used in _stripcolorcodes from eobj/libengine.a(osd.o) not allowed in slidable image
collect2: ld returned 1 exit status
Failed linking executable eduke32!
make: *** [eduke32] Error 1

Any ideas on this?
 
Sounds like they are attempting to make the application only operate in a particular memory space, that the compiler won't allow. I would send the error back to them and see if they can NOT do that.

TEG
 
I have a Duke Nukem 3D app from 2005 that I never used. It's just called Duke Nuked 3D.app and contains Timidity (for midi).
 
The controls are much too complex, I can't even imagine how Doom would run well (and by that I mean as well as the GBA Dooms at least) on an iPhone.
 
The PPC version works fine on the Intel machines. It doesn't matter whether it's running under Rosetta or not. It's not like you'll notice any lagging ;)
 
Thanks for all the help!

I'll post on the EDuke32 if they have accepted my registration.

I'll look into the PPC version too. Running EDuke32 however would give access to High-Resolution textures and other 21st-century enhancements! :cool:
 
Just tried Eduke32 with the HRP on my Atomic version of Duke. Bloody ace! I can see why you'd want a Mac port :). Each level takes a while to load though even on my newer computers.
 
It builds!

Yay! I have got EDuke32 to build on OS X. Here are the details:

System: Mac OS X 10.5.6
Xcode: 3.1.2 (non iPhone SDK)
GCC: gcc version 4.0.1 (Apple Inc. build 5490)

Get the EDuke32 sources from http://wiki.eduke32.com/stuff/eduke32_current.zip. My version is dated 2009-01-31. Also get http://wiki.eduke32.com/stuff/source_code/osx_libs.tar.bz2.

Extract both and place the "Apple" folder inside the EDuke32 source tree.

Install SDL from MacPorts:
libsdl
libsdl-framework
libsdl_mixer
libsdl_mixer-framework
Remember to create symlinks from the MacPorts install to /Library/Frameworks/

Changes summary:
Changed the SDL paths to point to the MacPorts SDL location
build/include/sdl_inc.h
build/Makefile.shared
Makefile

Disable NOASM flags
build/Makefile

Force generation of PIC code (-fPIC)
No RANCID_NETWORKING
Makefile

Changed type from int32_t to int
build/include/osxbits.h

The modifications are in the attached patch files.

:cool:
 

Attachments

  • macosx-patches.zip
    2.6 KB · Views: 136
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.