diff options
| author | Dario Bartussek <[email protected]> | 2021-04-19 13:50:42 +0200 |
|---|---|---|
| committer | Dario Bartussek <[email protected]> | 2021-04-19 13:50:42 +0200 |
| commit | 1f8f4e05410df148b7f3c3fd35f85c9b37d0401f (patch) | |
| tree | 02f04335c9c2a9497b9c4a7113e0d1338194d674 /compile.sh | |
| parent | Merge branch '2_3ds_exe' of https://github.com/dbartussek/rust_3ds into 2_3ds... (diff) | |
| download | rust_3ds-2.5_libctru.tar.xz rust_3ds-2.5_libctru.zip | |
Simple hello world program using libctru2.5_libctru
Diffstat (limited to 'compile.sh')
| -rwxr-xr-x | compile.sh | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,5 +1,7 @@ cargo fmt -RUSTFLAGS="-C link-args=-T3dsx.ld -C link-args=-Map=rust_3ds.map" cargo xbuild --target 3ds.json +cargo xbuild --target 3ds.json -llvm-objdump -d -C target/3ds/debug/rust_3ds > rust_3ds.s +arm-none-eabi-gcc -specs=3dsx.specs -g -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -Wl,-Map,rust_3ds.map -Ltarget/3ds/debug -LC:/devkitpro/libctru/lib -lrust_3ds -lctru -lm -o rust_3ds.elf + +llvm-objdump -d -C rust_3ds.elf > rust_3ds.s |