japaric / rust-cross

Everything you need to know about cross compiling Rust programs!
Apache License 2.0
2.51k stars 94 forks source link

Fix if example code isn't woking #51

Open drbh opened 4 years ago

drbh commented 4 years ago

After following the examples I still was running into compilation errors because of these missing files Scrt1.o: andcrti.o`

It seemed I was missing g++ so I had to run the following apt-get

sudo apt-get install g++-arm-linux-gnueabihf

now you should be able to see the files in the right place with

find /usr -name crt1.o