Building a static rustc

#1

Hi,

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

Thx

0 Likes

#2

I am also interested in this. Does anyone know?

0 Likes

#3

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.

0 Likes

closed #4

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

0 Likes