![]() ![]()
![]() $ rustup target add armv7-unknown-linux-musleabihf Rust for windows 10 free install#Mac $ brew install arm-linux-gnueabihf-binutils ![]() Does Rustup really not make this any easier?įor MacOS better use: musleabihf, for Windows you can use gnueabihf as bellow: Rust for windows 10 free download#Is that right? If so where on Earth can I download such a cross-compiler for Windows and why doesn't rustup install it? Having to compile a cross-compiling version of GCC yourself is the biggest pain of cross-compiling C/C++ programs. Linker = "c:/path/to/my/gcc/cross/compiler" Apparently I need to provide this myself and add this to the. (os error 2)Īs far as I have been able to determine, this is because Rust doesn't have its own linker and uses GCC instead. This compiles everything fine, but when it comes to linking it gives this error: error: could not exec the linker `cc`: The system cannot find the file specified.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |