BTW: FYI: at least on recent-enough versions of Mac OS X, from
what I have read, Apple has effectively "forbidden" _true_ static
linking, i.e. executables with no dynamic-library dependencies
whatsoever.
Here`s the relevant result from the D-based "hello world"
executable:
> otool -L foo
foo:
/usr/lib/libSystem.B.dylib (compatibility version
1.0.0, current version 125.2.11)
/opt/GCC_4.8.1/lib/libgcc_s.1.dylib (compatibility version
1.0.0, current version 1.0.0)
[obviously, that second line refers to a GCC that I build &
installed myself]
— Abe