You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 6, 2019. It is now read-only.
Matt Coffin edited this page Jul 9, 2015
·
1 revision
Changes to multiple projects are required to add a new target (thumbv7m-none-eabi, thumbv7em-none-eabi, etc) to zinc. This is due to zinc's system for moving the compilation of rust's libcore in to tree.
The following steps are required for adding a new LLVM target to zinc:
Add a target-specific libcore dependency to zinc's Cargo.toml
Add the platform_target to the case statement in configure.ac and re-run autoconf.
Add a target-specific libcore dependency to rlibc's Cargo.toml.
Code snippets
Here is a snippet for adding a target-specific libcore dependency to a Cargo.toml. Simply replace thumbv6-none-eabi with your target.