Re: Making a statically linked binary

Konstantin Tcholokachvili <[email protected]> Thu, 12 Feb 2015 00:04:58 +0100
Newsgroups gmane.comp.lang.ml.mlton.user
Message-ID <CAMHLaHJaLyxshGb4EVbopgxFn01zjpLn8yOf+dTNecG17WDyWg@mail.gmail.com>
Many thanks, it works like a charm.

Konstantin Tcholokachvili

2015-02-11 23:06 GMT+01:00 Henry Cejtin <[email protected]>:

> 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/
> _______________________________________________
> MLton-user mailing list
> [email protected]; [email protected]
> https://lists.sourceforge.net/lists/listinfo/mlton-user
>

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/

_______________________________________________
MLton-user mailing list
[email protected]; [email protected]
https://lists.sourceforge.net/lists/listinfo/mlton-user