Skip to content

Commit

Permalink
add osxcross files
Browse files Browse the repository at this point in the history
  • Loading branch information
likhita-809 committed Mar 23, 2021
1 parent 44c179a commit 0a32fcd
Show file tree
Hide file tree
Showing 279 changed files with 21,419 additions and 0 deletions.
14 changes: 14 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
N: Thomas Poechtrager
E: [email protected]
D: OSXCross, cctools/ld64 port

N: Cjacker
W: https://code.google.com/p/ios-toolchain-based-on-clang-for-linux
D: cctools/ld64 port

N: Don Bright
E: [email protected]
D: tools/get_dependencies.sh

N: Marcel Wysocki
D: Initial MacPorts script (https://github.com/maci0/pmmacports)
231 changes: 231 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,231 @@
/****************************** v1.3 *********************************/

Added:
* Support for arm64 and arm64e targets

Changed:
* Updated TAPI library to 1100.0.11

/****************************** v1.2 *********************************/

Added:
* Support for ld64 '-lto_library <path>'

Changed:
* Updated cctools to 949.0.1 and ld64 to 512.4

Removed:
* Support for <= 10.5 SDKs. Use 'osxcross-1.1' branch for these.


/****************************** v1.1 *********************************/

Added:
* ... back support for OpenBSD

Changed:
* Updated cctools to 927.0.2 and ld64 to 450.3
* TARGET_DIR can now be configured via env
(TARGET_DIR=<path> ./build.sh)
* Various other improvements and fixes

/****************************** v1.0 *********************************/

Added:
* Support for TAPIv3 stubs (including "zippering" target)
* Support for macOS SDKs up to 10.15
* SDK packaging script for ".xip" Xcode images
-> tools/gen_sdk_package_pbzx.sh <xcode.xip>
--> tested up to Xcode 10.2.1

Fixed:
* Implemented fix for https://github.com/tpoechtrager/osxcross/issues/171
* Implemented fix for https://github.com/tpoechtrager/osxcross/issues/178
* Implemented fix for https://github.com/tpoechtrager/osxcross/issues/182

Changed:
* cctools, ld64, apple-libtapi and xar are now "git clone"'d
and no longer come with OSXCross.
* Updated cctools to 921 and ld64 to 409.12

Removed:
* Support for Cygwin and *BSD (besides FreeBSD)
* Support for building OSXCross with GCC

/****************************** v0.15 ********************************/

Changed:
* Updated cctools to 895
* Updated ld64 to 274.2 (without TAPIv2 support)

Added:
* Support for ThinLTO:
-> https://clang.llvm.org/docs/ThinLTO.html
-> http://blog.llvm.org/2016/06/thinlto-scalable-and-incremental-lto.html
-> Requires LLVM/Clang >= 3.8. LLVM/Clang >= 3.9 is recommended.
* USE_CLANG_AS build.sh option:
-> Use Clang as assembler.

/****************************** v0.14 ********************************/

Changed:
* Updated cctools to 886
* Updated ld64 to 264.3.102

/****************************** v0.13 ********************************/

Changed:
* Updated cctools to 877.8
* Updated ld64 to 253.9

/****************************** v0.12 ********************************/

Changed:
* Updated cctools to 877.5
* Updated ld64 to 253.3

Added:
* Support for Xcode 7.x / El Capitan

/****************************** v0.11 ********************************/

Changed:
* '-oc-use-GCC-libs' has been renamed to '-foc-use-GCC-libstdc++'
* Support for generating fat object files with GCC and '-foc-use-GCC-libstdc++'
has been removed.
* Support for setting the language standard via
'OSXCROSS_C_STANDARD' / 'OSXCROSS_CXX_STANDARD' (env) has been removed

Added:
* Support for '-stdc++' and '-gstdc++' compiler "shortcuts"
o32-clang++ --> uses libstdc++ for <= 10.8 and libc++ for >= 10.9
o32-clang++-libc++ --> uses the SDK's libc++
o32-clang++-stdc++ --> uses the SDK's libstdc++
o32-clang++-gstdc++ --> uses GCC's (build_GCC.sh) libstdc++
* Unit tests (wrapper)
* llvm-dsymutil build script
* dsymutil is now wrapped to llvm-dsymutil (LLVM >= 3.8 only)

/****************************** v0.10 ********************************/

Changed:
* Improved and colorized wrapper error/warning/debug/info messages
* Updated cctools to 870
* Updated ld64 to 242

Added:
* Windows support via Cygwin
* OpenBSD and DragonFlyBSD support
* Linux ARM support
* Linux PPC/PPC64 support: Totally untested, but compiles
* GCC compiler support: OSXCross can now be built with GCC
* 'osxcross-man' man page tool
* p7zip sdk packaging script
* A minimalistic xcrun tool
* Support for ccache symlinks
* darling-dmg sdk packaging script
* include path warnings for /usr/include and /usr/local/include
(can be switched off via 'OSXCROSS_NO_INCLUDE_PATH_WARNINGS=1')
* An option to silence osxcross extension warnings
(OSXCROSS_NO_EXTENSION_WARNINGS=1)

/******************************* v0.9 *******************************/

Changed:
* Updated cctools to 862
* Updated ld64 to 241.9

Added:
* binutils / gdb build script
* OSXCROSS_GCC_NO_STATIC_RUNTIME option (env)
* osxcross-macports: A minimalistic macports packet manager

/******************************* v0.8 *******************************/

Changed:
* Updated cctools to 855
* Updated ld64 to 236.3
* GCC 4.9.0 -> GCC 4.9.2

Added:
* Support for new '-arch x86_64h' (requires Clang 3.5+)
* Support for multiple '-arch' flags with GCC
* Scripts to make sdk extraction possible on linux (xcode 4.2 only)
* OS X 10.10 support (DP1)
* pkg-config wrapper

/******************************* v0.7 *******************************/

Added:
* New compiler wrapper written in C++
* '-oc-use-GCC-libs' option (uses './build_GCC.sh' libstdc++)
* 10.6 SDK support (10.4-10.9 are all supported now)
* 'sw_vers' tool, which is required by some projects
* '-stdlib=' support for GCC (as an extension through the wrapper)
* 'OSXCROSS_C_STANDARD' env var (set C standard globally)
* 'OSXCROSS_CXX_STANDARD' env var (set C++ standard globally)
* macOS support (as host)

Changed:
* 'osxcross-conf', 'osxcross-env' and the (fake) 'dsymutil' are now
implemented in the wrapper
* <arch>-apple-darwinXX-cc/c++ defaults now to Clang
* Switched to two-space indents
* GCC 4.8.2 -> GCC 4.9.0

fixed:
* 'MACOSX_DEPLOYMENT_TARGET' env var is now handled correctly

/******************************* v0.6 *******************************/

Added:
* NetBSD support
* Dependencies installer script (Don Bright)
* SDK packaging script

/******************************* v0.5 *******************************/

Added:
* libc++ support (for both, Clang and GCC)
* FreeBSD support

Changed:
* Attempt to make the toolchain less path dependent
* Updated cctools to 845

fixed:
* Help Clang to find its own intrinsic headers
(this issue appears to be fixed in Clang 3.4+)
* Building the toolchain on 32 bit systems

/******************************* v0.4 *******************************/

Added:
* GCC build script
* A workaround for buggy unistd.h headers

/******************************* v0.3 *******************************/

Added:
* 10.9 SDK support
* *-apple-darwin*-clang* symlinks (same as invoking oXX-clang)

Changed:
* No need to build extra cctools binaries for targeting i386,
symlinking the x86_64 builds works as well

/******************************* v0.2 *******************************/

Added:
* A check for broken unistd.h
* Comments to build.sh

Changed:
* Updated cctools to 839 with ld64-134.9

Fixed:
* Check if macOS package is present in tarballs

/******************************* v0.1 *******************************/

initial commit.
Loading

0 comments on commit 0a32fcd

Please sign in to comment.