Quote:
Originally Posted by AustinSchuh
I've got enough projects lined up, ignoring my day job, that it will probably be next year before I mess with a clang cross compiler. The roboRIO isn't a very arcane backend. It probably just requires the correct compiler options when building the compiler. (softfp ARM backend with NEON)
|
If I had infinite time I would be trying to get a Rust compiler going for the roboRIO (also if I still had access to hardware). If it was stable, it would be a cool fit with all of its compile-time memory safety guarantees.
It would be insanely useless due to Rust's lack of c++ interop at the current moment, so WPILib wouldn't work, but it would still be a fun project.
EDIT: Actually, with existing toolchains, this might not be all that hard. See ya on the flipside, I'm going in.
EDIT 2: @Patrick:
- Where did you get those linux headers?
- How did you compile those libc6 binaries? Bootstrapped GCC?
EDIT 3: Homebrew formulae for OSX folks.
https://github.com/mcoffin/homebrew-frc
EDIT 4: Is there a way to make it so I don't have to pass the -B option at runtime to the compile to get it to use the correct binutils instead of my system binutils?
EDIT 5: Rust compiler added to homebrew formulae.