With Apple switching over to intel, they have provided
a way to build binaries that are launchable on both an
intel mac and a non-intel mac. This involves a 10.4
specific SDK that will allow the two architectures to
be built simultaneously. To allow the change, the
following few lines would need to be placed at the top
of a copy of Makefile.macosx:
UNIVERSAL_SDK_HOME=/Developer/SDKs/MacOSX10.4u.sdk
COMPILE = gcc -O3 -Wall -DUSE_NANOSLEEP -DMACOSX -arch
ppc -arch i386 -isysroot $(UNIVERSAL_SDK_HOME)
-I$(UNIVERSAL_SDK_HOME)/System/Library/Frameworks/JavaVM.framework/Headers
DEFS =
-I$(UNIVERSAL_SDK_HOME)/System/Library/Frameworks/JavaVM.framework/Headers
It would probably be better to have an additional
makefile as opposed to replacing the existing one, but
that would depend on the need for a non-intel only
based wrapper.
Thanks,
Michael
Logged In: YES
user_id=228081
Michael,
Thanks. I need to get that SDK installed on my system, then
I'll try to get it in for the 3.2.0 release. This new
version contains code to make a multiplatform release of the
Wrapper possible, so I'll need to get support for this
worked in there as well.
Cheers,
Leif
Logged In: YES
user_id=228081
Michael,
Thanks for the patch. It was fairly easy to get it to build
once I got the tools installed. There will be a universal
binary distribution with the 3.2.0 release.
Cheers,
Leif