view doc/README.MacOSX @ 226:6e40eb9fb261

- different strategy for mach-o files to lookup symbol names, in order to be consistent with other functions (that use dladdr() and dlsym() calls, which mostly don't use '_' prefixes)
author Tassilo Philipp
date Sat, 15 Apr 2017 22:02:58 +0200
parents 3e629dc19168
children
line wrap: on
line source

Building DynCall on Mac OS X
============================


The build system supports universal binaries (including static libraries) by
default (i386, x86_64).
In addition, the desired SDK can be choosen.

Optional configure switches for Mac OS X:

  Operating System:
    --target=MacOSX (optional, auto-detect)

  SDK:
    --sdk=<version> (optional, auto-detect)

  Architecture:
    not specified, builds universal binaries depending on SDK version


Configure and build for host platform:

  ./configure
  make
  sudo make install


Compile for Mac OS X 10.4u:

  configure --target=MacOSX --sdk=10.4u