Building a static rustc

Hi,

What’s the recipe for building a static rustc binary similar to the stage0 snapshot?

Thx

I am also interested in this. Does anyone know?

Haven’t tried it yet but it seems it’s provided in mk/snap.mk, e.g:

make snap-stage3-H-i686-unknown-linux-gnu

EDIT: Yes, that was it and --enable-llvm-static-stdcpp comes in rather handy to get rid of libstdc++.so dependency.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.