Omega2 Rust Cross-Compilation
-
I have written an tutorial over Rust Cross Compilation for the omega here.
I think this can also be used to compile c/c++ on windows for rust, haven't tried it yet.
-
@Ronald-van-Helden said in Omega2 Rust Cross Compilation on Windows 10:
o be used to compile c/c++ on windows for rust, haven't tried it yet.
I don't know rust, but reading your tutorial it's basically using the GCC cross compiler in WSL's bash.
You could differenciate better in the project section if you make a post for setting the SDK in windows 10 (the WSL) and another one standalone for Rust.
One could use your tutorial for Rust from his linux or macOS, or even my Docker solution.
Also, with the Windows 10 tutorial you can provide an alternative to my Docker solution for those who prefer the WSL to a VM running containers in Windows.
-
I don't know what you exactly mean with
Make a post for setting the SDK in windows 10 (the WSL) and another one standalone for Rust.
Do you mean a separate post of how to enable WSL and compiling the LEDE project on it and then a separate post for compiling rust in WSL?
-
I found it funny too when I was reading this request.
First of all, windows is not a case sensitive OS, that's why you cant cross compile with it. What you made is:
-
Create a case sensitive environment to cross-compile on a Windows OS while configuring WSL, a recently added tool exactly for such tasks.
-
Made a tutorial how to install Rust on Linux and cross compile with it.
Anyway, independent off all that, thanks a lot that you share your knowledge and present it on a such attractive way you did !
-
-
@Ronald-van-Helden
Yes. Because you made a 2 in 1 tutorial, and for anyone searching forRust
in the forums, will find your post, and maybe don't read it because you specify it is for Windows 10. That's why I think you better write 2 different posts, one for Windows 10 and one about Rust.
-
@José-Luis-Cánovas I'm working on it now, i'll create a post about setting up WSL and the LEDE project and another post about using Rust with LEDE.
-
@José-Luis-Cánovas I have finished splitting the guides, the new guide can be found here and the onion project thread here
-
@Ronald-van-Helden great!