Compiling Xport for Mac OS X

VisualBoy Advance also has a native Mac port and has GBD support. The Mac binary is missing the debugger hooks so I’ll try compiling the SDL version.

I’ve gotten one small demo to compile and run using the information at http://user.chem.tue.nl/jakvijn/tonc/setup.htm. The critical things are:

  • -mthumb-interwork on gcc

    • -specs=gba.specs when linking.

    DarkFader’s gbafix 1.03 won’t work on the Mac due to endian issues.

    Xport uses a derivitave of the devKit Advance crt0 which is completly different to devkitArm. -nostartfiles gcc option disables the standard crt0, but the Xport crt0 uses many symbols that DKA doesn’t support.

Avatar
Michael Hope
Software Engineer