Comments (3)
Yeah, that's the "fun" part about having a separate fork of std
. I've been meaning to go through and update stuff in there now that rust 1.17.0 is out. Hopefully that will knock these errors out.
from rust3ds-template.
JFYI seems that with kentaromiura/ctru-rs@e617cba I manage to compile, but I get a failure during link phase;
I think rustc is compiling the template project without hard float for some reason; I get a bunch of
/opt/devkitPro/devkitARM/bin/../lib/gcc/arm-none-eabi/6.3.0/../../../../arm-none-eabi/bin/ld: error: /opt/devkitPro/libctru/lib/libctru.a(ac.o) uses VFP register arguments, /home/kentaromiura/experiments/Rust/rust3ds-template/target/3ds/release/deps/rust3ds_template-fb8e6e7661b175c7.elf does not
Not sure why.
from rust3ds-template.
As for my last comment I managed to get it work now by moving all the link flags to the .cargo/config
file:
[build]
target = "3ds"
[target.3ds]
linker = "arm-none-eabi-gcc"
rustflags = [
"-Clink-arg=-specs=3dsx.specs",
"-Clink-arg=-mfloat-abi=hard",
"-Clink-arg=-march=armv6k",
"-Clink-arg=-mtune=mpcore",
"-Clink-arg=-mfpu=vfp",
"-Clink-arg=-mtp=soft",
"-Clink-arg=-lc",
"-Clink-arg=-lm",
"-Clink-arg=-lc",
"-Clink-arg=-lsysbase",
"-Clink-arg=-lc"
]
Probably not the best way but at least now I can compile fine.
from rust3ds-template.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust3ds-template.