Re: Making a statically linked binary
Henry Cejtin <[email protected]> Wed, 11 Feb 2015 16:06:57 -0600
| Newsgroups | gmane.comp.lang.ml.mlton.user |
|---|---|
| Message-ID | <CAPKXxCpZy7LH+k1p4-AQfP26UXK7Gq5fq_gj3Wrg3O2fvVZRRQ@mail.gmail.com> |
Yes, you can just use the -link-opt flag to the mlton compiler shell
file, passing it the linker -static flag.
I.e.,
mlton -link-opt -static xxx.sml
Note, this requires that the static versions of the libraries you need
are available. The normal MLton ones are.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/