view doc/README.MacOSX @ 356:2f64957d6a46

- fix to dynload to build with musl libc (latter has dlinfo but not RTLD_SELF, so fallback to dl_iterate_phdr if on ELF targets)
author Tassilo Philipp
date Tue, 25 Feb 2020 16:07:45 +0100
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