diff options
author | Ayke van Laethem <[email protected]> | 2021-11-10 17:58:38 +0100 |
---|---|---|
committer | Ron Evans <[email protected]> | 2022-02-12 15:33:06 +0100 |
commit | cdd267fa10370e294480fa203af1fc1cd91b47fa (patch) | |
tree | 4cad9d00bc605486537762249a1ec7cdbd262881 /.gitmodules | |
parent | 850a5fdbfb00f1bdfe930bd41013d0404f75e248 (diff) | |
download | tinygo-cdd267fa10370e294480fa203af1fc1cd91b47fa.tar.gz tinygo-cdd267fa10370e294480fa203af1fc1cd91b47fa.zip |
builder: add support for cross compiling to Darwin
This means that it will be possible to generate a Darwin binary on any
platform (Windows, Linux, and MacOS of course), including CGo. Of
course, the resulting binaries can only run on MacOS itself.
The binary links against libSystem.dylib, which is a shared library. The
macos-minimal-sdk repository contains open source header files and
generated symbol stubs so we can generate a stub libSystem.dylib without
copying any closed source code.
Diffstat (limited to '.gitmodules')
-rw-r--r-- | .gitmodules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules index 8143ce846..e82a938b7 100644 --- a/.gitmodules +++ b/.gitmodules @@ -32,3 +32,6 @@ [submodule "lib/mingw-w64"] path = lib/mingw-w64 url = https://github.com/mingw-w64/mingw-w64.git +[submodule "lib/macos-minimal-sdk"] + path = lib/macos-minimal-sdk + url = https://github.com/aykevl/macos-minimal-sdk.git |