chliu
1
Dear all:
I need port rustc to a new platform which there's no cargo and rustc support
as this link list: Redirecting... .
There are gcc 5.3, python 2.7, llvm 7.0, Linux kernel 4.4 on the new platform.
What's rustc version can I get start? Any help would be appreciated!
Does LLVM support your platform?
Start by defining your target here https://github.com/rust-lang/rust/blob/master/src/librustc_target/spec/ . You can then try cross-compile for your new target, and fix whatever is broken until it works. You might need to install a C cross compiler as well.
See also How to Build and Run the Compiler - Guide to Rustc Development
1 Like
chliu
5
I see。 Thank you so much。
system
Closed
6
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.