[Gs-devel] Framework build for MacOS X
rillian at telus.net
Sun Nov 11 23:41:08 PST 2001
Raph and I put together a framework build of ghostscript late last week.
'Frameworks' are a MacOS X (and darwin?) method of packaging libraries.
Basically the idea is that the object code, supporting data files, and
headers all go in a directory tree which is treated as a monolithic
unit. This makes install/uninstall trivial, allows nicely for versioning
and fat binary distributions, and is the preferred way to handle these
things on this platform.
Documentation on how to make them is a little sparse but what we have
seems to work, at least on 10.1. The code-in-progress is available:
If anyone wants to play with it. Just untar that in the top level of the
gs source tree. Then:
ln -s src/macosx.mak makefile
cc -o gsc -Fsobin -framework Ghostscript
you should then be able to use the gsc command-line client linked
against the shared binary in Ghostscript.framework.
Once I get this cleaned up a bit, I'll commit it to cvs. There's also a
binary (build by hand, not the makefile target used above) in the same
directory on casper.
clean it up so it doesn't break other builds
include the contents of lib (and maybe some fonts?)
get the path stuff set up right so it can be installed properly
More information about the gs-devel