The Cocotron is an open source project which aims to implement a cross-platform Objective-C API similar to that described by Apple Inc.'s Cocoa documentation. This includes the AppKit, Foundation, Objective-C runtime and support APIs such as CoreGraphics and CoreFoundation.

Cocotron Tools

InstallCDT - Xcode cross-compilers



NOTE: InstallCDT is now included in the main Cocotron source and not a separate download.





NOTE: InstallCDT only puts files in /Developer/Cocotron/ and ~/Library/Application Support/Developer/Shared/Xcode.

From a shell, run:

InstallCDT/install.sh

This script takes two arguments, a platform and architecture, the defaults being Windows and i386. You can also specify Linux i386 or Solaris sparc. Make sure your platform interface is set up before installing for Linux and Solaris

InstallCDT will download, patch, configure, build and install binutils and gcc, download and patch mingw if needed, install the platform interface for gcc, create the Xcode specification files and put them in ~/Library/Application Support/Xcode/Specifications

Once the install is done for your platform of choice, you can get started. You will need to relaunch Xcode in order for it to acknowledge the existence of the new compiler specifications.

Download InstallCDT-2011-12-27.zip

Updated binutils to 2.21, MinGW runtime to 3.20 and MinGW w32api to 3.17.2

Download InstallCDT-2011-10-05.zip

Updates for Xcode 4.2

Download InstallCDT-2011-05-23.zip

Additional install script for AntiGrain libraries and headers

Download InstallCDT-2010-08-19.zip

Additional install scripts for OpenSSL and GLUT libraries and headers

Download InstallCDT-2010-02-24.zip

Improved support for Objective-C properties

Download InstallCDT-2009-12-17.zip

Adds support for FreeBSD i386 cross-compile

Download InstallCDT-2009-09-18.zip

Updated for installation on Snow Leopard. This includes support for @property syntax and fast enumeration.

Which will install:

  • gcc 4.3.1
  • gmp 4.2.3
  • mpfr 2.3.2
  • binutils 2.19
  • w32api-3.13
  • mingwrt-3.15.2

Download InstallCDT-2009-04-20.zip

This includes support for @property syntax and fast enumeration.

Which will install:

  • gcc 4.3.1
  • gmp 4.2.3
  • mpfr 2.3.2
  • binutils 2.19
  • w32api-3.13
  • mingwrt-3.15.2

Download InstallCDT-2009-04-17.zip

This includes support for @property syntax and fast enumeration.

Which will install:

  • gcc 4.3.1
  • gmp 4.2.3
  • mpfr 2.3.2
  • binutils 2.18
  • w32api-3.13
  • mingwrt-3.15.2

Download InstallCDT-2009-03-18.zip

This includes support for @property syntax and fast enumeration.

Which will install:

  • gcc 4.3.1
  • gmp 4.2.2
  • mpfr 2.3.1
  • binutils 2.17
  • w32api-3.13
  • mingwrt-3.15.2