<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">We have a ticket open to implement static linking of swift libs.<div class=""><br class=""></div><div class="">If anyone on the Swift team knows how to do this and can comment here then I’m sure we can get it implemented pretty quickly.</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 13, 2016, at 7:54 PM, Drew Crawford via swift-users &lt;<a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Whenever I update the installed Linux snapshot, my binaries break, with errors of the form:<div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class="">[programname]: symbol lookup error: [programname]: undefined symbol: _TFOs7Processau9argumentsGSaSS_</div></blockquote><br class=""><div class="">I assume this is the standard library symbol Process.arguments (which is used in my program).</div><div class=""><br class=""></div><div class="">I guess this is because the standard library is not statically linked/embedded in this executable. &nbsp;This happens by default on OSX, but I guess might not on Linux.</div><div class=""><br class=""></div><div class=""><ul class="MailOutline"><li class="">Is that a bug?</li><li class="">Is there a way to force statically link the standard library on Linux, so my binaries work without a recompile each new snapshot?</li></ul><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></div><div class=""><br class=""></div></div>_______________________________________________<br class="">swift-users mailing list<br class=""><a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-users<br class=""></div></blockquote></div><br class=""></div></body></html>