Build success on Mac OS X 10.6 (Snow Leopard)



Greetings,

I would like to share the build instructions for GTK+ (as a 32-bit system) on Snow Leopard. I managed as far as compiling gimp and getting it to run, open a new image, scribble on it, and save the file (it can probably do more). The steps are as listed in http://sourceforge.net/apps/trac/gtk-osx/wiki/Build up to where it says "Now do jhbuild ...", where you have to do:

$ CXX='g++ -m32' CC='gcc -m32' CFLAGS=-m32 LDFLAGS=-m32 jhbuild bootstrap --ignore-system

$ CXX='g++ -m32' CC='gcc -m32' CFLAGS=-m32 LDFLAGS=-m32 jhbuild build meta-gtk-osx-bootstrap

$ CXX='g++ -m32' CC='gcc -m32' CFLAGS=-m32 LDFLAGS=-m32 jhbuild build meta-gtk-osx-core

$ CXX='g++ -m32' CC='gcc -m32' CFLAGS=-m32 LDFLAGS=-m32 jhbuild build gimp

$ ~/gtk/inst/bin/gimp

And that's it!

Now trying to get gobject-introspection to work.  Enjoy.

Aziz,,,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]