view doc/README.MacOSX @ 542:a73a5cd50c19

- fix passing aggregate-by-val on x64/sysv: subaggr classification for aggr *arrays* was wrong (was problematic when there ware exactly 2 8bytes to be classified, potentially be passed via registers)
author Tassilo Philipp
date Mon, 02 May 2022 15:32:41 +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