Standalone executables

"Wang, Daniel Chen-An (Dan)" <[email protected]>
Newsgroups gmane.comp.lang.sml.smlnj
Message-ID <5.2.0.9.0.20030929214817.040e94b8@localhost>
Just wondering what's the plan for standalone executables for SML/NJ?

Ages ago, I had come up with hack that was a bit more elegant than heap2exe
that just required access to an assembler. It would take a heap-image
convert it into a .s file that the assembler would compile into a big
read-only array in the text segment and then link the result with a slightly
modified runtime that read from the array rather then a file.

heap2exec seems a bit moribund and I'd be happy to do the needed hacking to
make this work, unless there's a better plan for standalone executables
right now. You could probably even avoid the need to use an assembler if
you're willing to emit the various object file formats directly from ML.

P.S. I've recently been playing dirty games with linkers an assemblers in
the non-ML world so this is why this hack is on my mind right now. 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.