64-bit requirement

Michael Hall mik3hall at gmail.com
Tue Jan 25 02:19:11 PST 2011


On Jan 23, 2011, at 8:46 PM, Weijun Wang wrote:

> I removed soylatte from my system. Using the Mac Java is probably the biggest reason I switched from bsd-ort to macosx-port.

I got this to 32 bit build something using Soylatte. Thanks.

I made your changes. Manually, I'm not real up on diff/patch. patch didn't seem to be working for me.

I did use Soylatte for the bootstrap.

You were correct that ARCH can be omitted. In fact it had to be for me, if you don't skip it you get a no rule to make x86_32.ad error.
The CC, CCX I included and didn't seem to matter.
(I uncommented the gamma_test invocations, the ALWAYS_PASS_TEST_GAMMA looks to take care of that.)

The only change that seemed specific to Soylatte was I also had to omit the
SA_APPLE_BOOT_JAVA=true
That causes the build to look for a classes.jar off a bundle directory. Without it I think it finds soylatte's tool.jar instead.

So for soylatte bootstrap something like...
env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin \
 CC=gcc-4.0 \
 CXX=g++-4.0 \
 LANG=C \
 make \
 ALLOW_DOWNLOADS=true \
 ALWAYS_PASS_TEST_GAMMA=true \
 ALT_BOOTDIR=/Volumes/mbvol/soylatte16-i386-1.0.3 \
 ALT_JDK_IMPORT_PATH=/Volumes/mbvol/soylatte16-i386-1.0.3 \
 JAVA_TOOLS_DIR=/Volumes/mbvol/soylatte16-i386-1.0.3 \
 ALT_FREETYPE_HEADERS_PATH=/usr/X11R6/include \
 ALT_FREETYPE_LIB_PATH=/usr/X11R6/lib \
 ALT_CUPS_HEADERS_PATH=/usr/include \
 ANT_HOME=/usr/share/ant \
 NO_DOCS=true

with the JAVA_HOME env var set to soylatte.

As I remember how this went anyhow. There were some other stumbles on the way. But it does give me something, thanks again.


More information about the macosx-port-dev mailing list