IoT SDK build on WSL is super slow arg ... Must find a way to do native Windows build ... Without MSYS

🤔

Dumping the GCC Commands from "make" ... And running them under Windows CMD ... So much faster!

🤔

Follow

"cargo" Build Script can call GCC to compile C code ... Maybe we use this instead of "make" to build IoT SDK on Windows? 🤔

doc.rust-lang.org/cargo/refere

@lupyuen
If you have to stick with makefiles and gcc just make sure you run gcc and make from cmd. Its best you can get so far.

@lupyuen use the lib.rs/cc crate for this. It ensures Rust's compilation settings are copied to the C compiler, and it finds the right compiler for cross compilation, weird platforms etc.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.