When thin files have the same alignment the sort order is dependant on the qsort implementation. Additional sort keys ensure that we get the same sort result on different platforms.
Apple cctools port for Linux, *BSD and Windows
This currently only supports the build of ld64 and lipo.
Current Version: 877.8 + ld64-253.9.
Originally ported by cjacker.
LICENSE
This project is licensed under the Apple Public Source License (APSL).
Windows Builds
The windows builds include a few extra components:
- mmap-win32 (vendored): MIT License (see
cctools\mman\LICENSE.mman) - dlfcn (linked): MIT License (see
licenses\COPYING.dlfcn) - winpthreads (linked): MIT License and BSD Style License (see
licenses\COPYING.winpthreads) - libgcc (linked): GPL-3.0-or-later with the GCC-exception-3.1(see
licenses\COPYING.libgcc) - libstdc++ (linked): GPL-3.0-or-later with the GCC-exception-3.1 (see
licenses\COPYING.libc++)
See the referenced LICENSE file(s) for complete terms.
SUPPORTED HOSTS
SUPPORTED OPERATING SYSTEMS:
Currently Tested: Linux, Windows
Untested: FreeBSD, NetBSD, OpenBSD, DragonFlyBSD, Mac OS X and iOS
SUPPORTED HOST ARCHITECTURES:
Tested: x86_64
Untested: x86, arm, aarch64, ppc, ppc64
SUPPORTED TARGET ARCHITECTURES
armv4t, armv5, armv6, armv7, armv7f, armv7k, armv7s, armv6m
armv7m, armv7em, armv8, arm64, arm64v8, i386, x86_64 and x86_64h.
SUPPORTED TARGET OPERATING SYSTEMS
Mac OS X, iOS, watchOS (untested) and tvOS (untested)
DEPENDENCIES
Clang and cmake 3.20+.
Optional, but recommended:
llvm-devel (For Link Time Optimization Support)
uuid-devel (For ld64 -random_uuid Support)
llvm-devel + xar-devel (For ld64 -bitcode_bundle Support)
You can find xar here.
Do not install libxar-dev on Ubuntu, it's a different package.
Building
cmake -S . -B buildcmake --build build