I want to know how to build rsbegin.o & rsend.o in rustlib/src/rust/library/rtstartup .
I want to cross compile to i686-pc-windows-gnu.
And don't use pre-compiled package -> rustup target add i868-pc-windows-gnu .
This is how rust's build system builds it: https://github.com/rust-lang/rust/blob/e324cf0f73f09388d494986550f46dc9e12badd3/src/bootstrap/src/core/build_steps/compile.rs#L686-L692 Needs nightly rustc.
Are you building rustc from source? If so rust's build system will already build it for you. If not, why do you want to avoid the rustup version while still using the rustup version of rustc itself?
2 Likes
Thanks. Just try to build rust-std from source.
Thanks. Just try to build rust-std from source.