Fossil SCM

Universal binary builds for Mac OS X

Closed

e5e2e0408ed3d23… · opened 15 years, 11 months ago

Type
Feature_Request
Priority
Severity
Important
Resolution
Wont_Fix
Subsystem
Created
April 22, 2010 6:12 p.m.

The downloads available on:

[http://www.fossil-scm.org/download.html]

are for Mac OS X 10.5/10.6 intel only. Please build a universal binary that works with Mac OS X 10.4+. If the 10.4 SDK is installed (should be installed by default with the 10.5 developer tools -- it may be an optional install with the 10.6 tools) into the normal default location of /Developer/SDKs/MacOSX10.4u.sdk then simply using this command:

make \
  CFLAGS='-arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4' \
  LDFLAGS='-arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4'

instead of just "make" in the fossil source checkout will produce a universal binary that runs on 10.4 or later on PowerPC or Intel machines. (Of course it doesn't hurt to run strip on the final fossil file produced either.)

There are still a lot of PowerPC machines out there (and a fair number of 10.4 ppc machines -- that's the last version of Mac OS X that will run classic apps) and this change is a relatively painless thing to do to support more platforms and make fossil accessible to more folks who are unwilling (or unable) to build from sources themselves on Mac OS X.

I have verified that the universal binary fossil executable built this way runs successfully on these platforms:

  • 10.4 PowerPC G4
  • 10.5 PowerPC G5
  • 10.5 Intel x86_64
  • 10.6 Intel x86_64

and so believe there are no problems with the universal binary produced this way.

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button