[mac-gs] Compiling on OS X.2 as a framework

Ralph Giles giles@artifex.com
Sat, 7 Sep 2002 21:04:04 +0100


On Monday, Aug 26, 2002, at 04:29 Europe/London, Sailesh Agrawal wrote:

> Building on Mac OS X.2 (as a framework) requires the following change
> to the macosx.mak file:
> [remove X11 inludes and link directives]

I've set them to blank in cvs. This works fine for me; please let me 
know if you have trouble. This change will also be in the 7.30 testing 
release.

> change CC=cc
> to CC=gcc2

I didn't make this one because it breaks building on 10.1.x. This is a 
work-around for a bug in Apple's gcc3. I've submitted a bug report. 
Turning off optimization is another option.

Note that macosx.mak is probably going away in a future release now 
that the autoconf build is working out of the box on osx. We just need 
to integrate the framework (and linux .so) builds.

> I haven't tried to use the framework yet but I have my fingers crossed.

Please let us know how it goes. We've not had much feedback on the 
framework build.

Cheers,
  -r

--
Ralph Giles
MacOS port maintainer