[MLton-user] Re: Compiling ML/C Program to dll / Writing a Java GUI for an ML program

Wesley W. Terpstra wesley at terpstra.ca
Wed Aug 3 04:51:48 PDT 2011


On Wed, Aug 3, 2011 at 12:31 PM, Steffen J. Smolka
<steffen.smolka at in.tum.de> wrote:
>>> gcc -c -Wall main.c

This won't work for an object file to be included in a library on all
platforms. You should add a '-fPIC' to that compile line.



More information about the MLton-user mailing list