64-bit requirement
Alexander Strange
astrange at apple.com
Sun Jan 23 15:09:42 PST 2011
On Jan 23, 2011, at 4:40 PM, Michael Hall wrote:
>
> On Jan 18, 2011, at 9:13 PM, Alexander Strange wrote:
>
>> Although it hasn't been tested recently, you may be able to compile for 32-bit only using by setting "ARCH=i386 CC=gcc-4.0 CXX=g++-4.0".
>
> So far you seem to end up in a darned if you do, darned if you don't situation with this.
>
> First I didn't figure anything out on the test_gamma problems. I saw somewhere where with JAVA_HOME set and a tweak to LD_LIBRARY_PATH you could get around problems. I had the JAVA_HOME but the LD_LIBRARY_PATH didn't seem to do any good. So I commented out all invocations of test_gamma in my Makefile to get around this.
Sorry, I meant setting those in addition to the other variables in the build line on the wiki page, which fix the problems with test_gamma and so on.
Note that we just removed the CC= CXX= from that command - it was there due to confusion over which shipped compilers supported -mstackrealign - and it can be removed here too. So just adding ARCH=i386 may get you as far as Weijun did.
I'll investigate it myself soonish.
More information about the macosx-port-dev
mailing list