Skip to content

sigidagi/zigpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

## Cross-compiling with zig

Zig install

download link

Advantage using 'Zig' compiler for cross-compilation:

  1. Zig can compile to all supported targets with a single toolchain.Check all supported targets: zig targets
  2. Hermetic toolchain. Given the same input, always produces the same output regardless of the environment. In this context “hermetic” means that it does not use files from the host (which is “leaky”) and contains everything it needs to compile a file.

Examples

cmake --list-presets
cmake -B build-linux --preset aarch64-linux-musl
cmake --build build-linux 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published