All Manuals > LispWorks User Guide and Reference Manual > 23 LispWorks' Operating Environment > 23.12 Universal binaries on Mac OS X


23.12.1 Building 32-bit universal binary applications

To build a universal binary application from 32-bit LispWorks for Macintosh, you will need to install 32-bit LispWorks on an Intel-based Macintosh computer.

Building a new universal binary requires three steps:

  1. Build the application for PowerPC.
  2. This can be done on your Intel machine using Rosetta

  3. Build the application for Intel.
  4. Combine the two applications to make a universal binary.

These steps can be automated on a single Intel-based Macintosh by creating a script that compiles and loads the application and then saves the image. Loading this by running LispWorks with the -build command line argument would save an image containing a single architecture, but you can use the same script to save a universal binary by calling save-universal-from-script.

Note: You may install LispWorks on multiple machines for use at the same time only if you own multiple LispWorks licenses.

LispWorks User Guide and Reference Manual - 21 Dec 2011