Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#6 Universal build falls on OS X 10.5.7

open
nobody
None
5
2009-07-28
2009-07-28
Robert
No

I'm on OS X 10.5.7 Intel and when I enable universal atomic parsley does not build. The makefile seems to have several errors:

1. These required lines are missing:
MACOSX_DEPLOYMENT_TARGET=10.4
export MACOSX_DEPLOYMENT_TARGET

2. DARWIN_CROSS_ARCH is incorrectly set to i365, it should be (no spaces is very important):
DARWIN_CROSS_ARCH=ppc

3. I'm not 100% sure on this one since I added the changes to the makefile before doing the other two, but anyway I put on all g++ lines in the Makefile this option following the existing -arch $(DARWIN_CROSS_ARCH) and -arch $(DARWIN_NATIVE_ARCH) bits:
-isysroot $(DARWIN_UNIVERSAL_SDK_ROOT)

With all 3 of those changes, as I said I'm not sure if the last one is needed, I got a successful universal build on OS X 10.5.

Discussion

  • Robert
    Robert
    2009-07-28

    My hand edited working Makefile

     
    Attachments
  • Robert
    Robert
    2009-07-28

    Sigh...
    DARWIN_CROSS_ARCH is incorrectly set to i386