Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

100% Static Build #23

Closed
groundwater opened this Issue Mar 10, 2014 · 1 comment

Comments

Projects
None yet
1 participant
Contributor

groundwater commented Mar 10, 2014

I am interested in doing a completely static build of the node executable.

cc/experts: @rvagg @tjfontaine @trevnorris @jclulow @TooTallNate @juliangruber

benefits

  1. easy to mentally grok for newcomers, systems is likely going to be hacked on by beginners
  2. starts faster (confirm?)
  3. highly portable; copy-paste a single file

questions

  1. what are the risks?
  2. how does this affect gyp modules?

execution

I think we need to build against a libc other than glibc. The whole design of the GNU tool chain seems to be centered around shared libraries. We are pretty much looking for the opposite of that.

experts

Highly appreciate any comments by resident experts.

Contributor

groundwater commented Mar 12, 2014

Spent a while talking to some smart people about this.

In short, it's doable, but probably quite difficult. I think before attempting this idea, we should better define what problem we're trying to solve and why.

I'm going to close the issue for now, but feel free to add to it if you have some interesting additions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment