https://github.com/cargo-prebuilt/ink-cross-toolchains
Cross compiling toolchains for ink-cross-images
https://github.com/cargo-prebuilt/ink-cross-toolchains
cross-compilation cross-compiler-toolchain crosstool-ng
Last synced: 5 days ago
JSON representation
Cross compiling toolchains for ink-cross-images
- Host: GitHub
- URL: https://github.com/cargo-prebuilt/ink-cross-toolchains
- Owner: cargo-prebuilt
- License: mit
- Created: 2024-04-05T13:42:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-07T22:57:17.000Z (over 1 year ago)
- Last Synced: 2024-04-08T22:05:25.438Z (over 1 year ago)
- Topics: cross-compilation, cross-compiler-toolchain, crosstool-ng
- Language: Dockerfile
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ink-cross-toolchains
Cross compiling toolchains meant for [ink-cross-images](https://github.com/cargo-prebuilt/ink-cross-images).
## Toolchains
### 2024.01 (Upcoming)
[Config Files](https://github.com/cargo-prebuilt/ink-cross-toolchains/tree/v2024.01/config)
#### Host Platform Support
- aarch64-linux-gnu
- x86_64-linux-gnu#### Versions
TODO: Bundle zlib and musl
| Target (Rust/LLVM) | GCC Target | GCC | BinUtils | Musl | Linux Kernel |
|--------------------------------|----------------------|--------|----------|-------|--------------|
| aarch64-unknown-linux-musl | aarch64-linux-musl | 12.3.0 | 2.42 | 1.2.4 | 5.4.260 |
| armv7-unknown-linux-musleabihf | arm-linux-musleabihf | 12.3.0 | 2.42 | 1.2.4 | 5.4.260 |
| x86_64-unknown-linux-musl | x86_64-linux-musl | 12.3.0 | 2.42 | 1.2.4 | 5.4.260 |## Download and Install
TODO
## Building
### Build
```shell
docker buildx build \
-f ./docker/$TARGET.Dockerfile \
-t ink-toolchain:dev \
.
```### Extract
```shell
./scripts/extract.sh
```## Acknowledgements
- [musl-cross](https://github.com/musl-cross/musl-cross)
- [crosstool-ng](https://github.com/crosstool-ng/crosstool-ng)