ruslo / polly

:wrench: Collection of CMake toolchain files and scripts for cross-platform build and CI testing (GCC, Visual Studio, iOS, Android, Clang analyzer, sanitizers etc.)
BSD 2-Clause "Simplified" License
862 stars 191 forks source link

osx => linux cross compilation (via llvm) #27

Open headupinclouds opened 9 years ago

headupinclouds commented 9 years ago

https://github.com/tpoechtrager/osxcross

This looks interesting, and given my iOS needs I typically use an OS X host. This could help add linux platforms in the same build step. I just stumbled on this so I'm making a note for future reference.

headupinclouds commented 9 years ago

I didn't read this carefully. This supports the opposite direction: linux => OS X.

ruslo commented 9 years ago

http://crossgcc.rts-software.org/doku.php?id=compiling_for_linux

ruslo commented 9 years ago

https://github.com/rust-lang/rust/issues/16259