|
NAMEheap2exec - generate standalone executable from a *SML/NJ* heap image.SYNOPSISheap2exec [ -32 | -64 ] [ LINKMODE ] fileDESCRIPTIONUnder normal usage, SML/NJ represents a program as a heap-image file with a name of the form foo.arch-opsys Heap2exec generates a standalone executable from a heap image. You have the option to specify a preferred linking mode.The default is to link statically on FreeBSD and Linux. Note that heap2exec is an optional component of the SML/NJ installation process that is not included by default. Edit the config/targets file before installation to include it. OPTIONS-32run the 32-bit version of the program (currently the
default).
-64 run the 64-bit version of the program. This option only
applies to the x86-64 (aka amd64) architecture.
-static, -linkwith-a statically link the program with the runtime system.
Static linking is the default on Linux and FreeBSD.
-dynamic, -linkwith-so dynamically link the program with the runtime
system.
AUTHORHeap2exec was written by Matthias Blume.SEE-ALSOsml(1)BUGSHeap2exec is limited to the x86 and amd64 architectures and to the macOS, Linux, and FreeBSD operating systems.COPYINGCopyright © 2020 The Fellowship of SML/NJThis is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Visit the GSP FreeBSD Man Page Interface. |