mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-02-10 10:10:08 +00:00
That is what is used by the packaged cross-compilers on (at least) Fedora and Ubuntu. Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
I made a minimal Rust demo.
This needs a rebuild of the core library with xargo (https://github.com/japaric/xargo) for working soft floating-point support.
Steps:
$ rustup default nightly
$ rustup target add powerpc64le-unknown-linux-gnu
$ rustup component add rust-src
$ cargo install xargo
$ make $ make run
ln -sf hello_world.bin main_ram.bin ../core_tb > /dev/null Hello World Rust i 2 5 5 i 3 3.3333333333333335 3.3333333333333335 [-9, -6, 2, 3] !panicked at 'test', src/lib.rs:58:5