[erlang-questions] Erlang static linked interpreter

Mikael Pettersson mikpe@REDACTED
Wed Jan 19 20:57:49 CET 2011

Ciprian Dorin Craciun writes:
 >     Hello all!
 >     I was just wondering if anyone was able to build a static linked
 > Erlang interpreter?
 >     I've tried today to use `LDFLAGS=-static`, but unfortunately when
 > linking it complains of finding `__sigaction` duplicated, once in
 > Erlang's own source code, and once in `pthread` library.
 >     Any ideas? Thanks,

If you're on x86, then disable HiPE.  HiPE on x86 needs to override
sigaction(), but that only works with dynamic linkage.

More information about the erlang-questions mailing list