Skip to content

mattdf/solidity-static

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 

Repository files navigation

Static, portable builds of Solidity

This is a script to produce a fully static build of solc, the Solidity compiler.

This is done by statically linking to musl in an Alpine Linux environment. Unlike glibc, musl is built with static linking in mind.

The resulting binary should work on a wide variety of Linux platforms (tested here with CentOS, Arch, Alpine and Busybox).

$ file solc soltest
solc: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, stripped
soltest: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, stripped
$ du -h solc soltest
3.0M    solc
9.4M    soltest

About

Static solidity builds

Resources

Stars

Watchers

Forks

Packages

No packages published