├── LICENSE ├── README.md └── _config.yml /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Chris Hiszpanski 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Building cross-compiler toolchains is a time-consuming process. This site provides pre-built cross-compiler toolchains for Apple Mac OS X (i.e. Darwin), targetting the Linux operating system on common architectures, currently `arm` and `aarch64`. In other words, compile code for ARM/Linux on your Mac. 2 | 3 | Based on [gcc](gcc.gnu.org) and [binutils](https://www.gnu.org/software/binutils/), toolchains are provided currently in one variant, namely [glibc](https://www.gnu.org/software/libc/), with support for [uClibc-ng](https://uclibc-ng.org/) and [musl](http://www.musl-libc.org/) possible in the future if there is interest. The toolchains are built using the [crosstools-ng](https://crosstool-ng.github.io/) build system. 4 | 5 | ## Downloads 6 | 7 | | Toolchain | GCC | GDB | Linux headers | glibc | binutils | 8 | |--|--|--|--|--|--| 9 | | [aarch64-unknown-linux-gnu](https://github.com/thinkski/osx-arm-linux-toolchains/releases/download/8.3.0/aarch64-unknown-linux-gnu.tar.xz) | 8.3.0 | 8.2.1 | 4.20.8 | 2.29 | 2.32 | 10 | | [arm-unknown-linux-gnueabi](https://github.com/thinkski/osx-arm-linux-toolchains/releases/download/8.3.0/arm-unknown-linux-gnueabi.tar.xz) | 8.3.0 | 8.2.1 | 4.20.8 | 2.29 | 2.32 | 11 | | [armv8-rpi3-linux-gnueabihf](https://github.com/thinkski/osx-arm-linux-toolchains/releases/download/8.3.0/armv8-rpi3-linux-gnueabihf.tar.xz) | 8.3.0 | 8.2.1 | 4.20.8 | 2.29 | 2.32 | 12 | | [arm-unknown-linux-gnueabihf](https://github.com/thinkski/osx-arm-linux-toolchains/releases/download/8.3.0/arm-unknown-linux-gnueabihf.tar.xz) | 8.3.0 | 8.2.1 | 4.20.8 | 2.28 | 2.32 | 13 | 14 | ## Code Signing 15 | 16 | On Catalina and later, executables need to be code-signed. This can be done via: 17 | 18 | find /path/to/installation/directory -executable | xargs -n1 sudo codesign --force --deep --sign - 19 | 20 | ## Support or Contact 21 | 22 | If you find a problem or would like to see support for a new architecture or component combination, please [file an issue](https://github.com/thinkski/osx-arm-linux-toolchains/issues). 23 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-minimal 2 | title:  toolchains 3 | google_analytics: UA-92228276-2 4 | --------------------------------------------------------------------------------