forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Doc building for ios
kud1ing edited this page Jan 3, 2014
·
98 revisions
Compilation currently is not successful, see the open issues.
You need XCode 5.
- Build Rust:
mkdir build_ios; cd build_ios
../configure --target=arm-apple-darwin
make VERBOSE=1
- Use Rust:
rustc --target=arm-apple-darwin foo.rs
For the current adjustments:
- see for
arm-apple-darwin
in mk/platform.mk - see for
apple-darwin
in mk/rt.mk - in the source files grep for
__APPLE__
- Compilation:
- Compile twice, with both
-arch armv7
and-arch armv7s
(A6 processor) ?
- Compile twice, with both
- Code:
-
ARM Machine Directives:
.align
- Building a GHC cross-compiler for Apple iOS targets
- CMOSS: scripts for building cross-platform c/c++ open source software libraries for iOS and Android.
- Cross-compilation using Clang
- Doc building for android
-
environ.7:
_NSGetEnviron()
- iOS ABI Function Call Guide
- llc
- llvm-dis
- Note seeing LLVM output from rust