Building a static binary for linux

0 views
Skip to first unread message

Chris Granger

unread,
Nov 6, 2012, 6:00:01 PM11/6/12
to node-...@googlegroups.com
Hey guys,

Have you ever tried to build a static binary for linux? The dynamic linking is a serious problem for trying to deliver this to multiple people on linux. Are there any pointers on how to compile node-webkit statically? Any idea how big it would be?

Or is there some other suggestion for delivering to multiple linux distros?

Cheers,
Chris.

Roger

unread,
Nov 6, 2012, 6:05:19 PM11/6/12
to node-...@googlegroups.com
Hi Chris,

The issue should be this one: https://github.com/rogerwang/node-webkit/issues/59.

The problem is that we are currently building on a new linux distribution. After we build it on an old one, it should be fine running on most Linux distributions.

Roger
--
You may say I am a dreamer, but I am not the only one.

Roger

unread,
Nov 7, 2012, 8:25:07 AM11/7/12
to node-...@googlegroups.com
In this release we built Linux binaries on Ubuntu 10.04 LTS, which should be old enough so the binary would run on most Linux desktop distributions.

The reason we didn't build static because the dependencies is pretty common and should be available on Linux _desktop_ distributions. And building static need more investigation and testing. However we will still keep looking into this in the future.

Roger
Reply all
Reply to author
Forward
0 new messages