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

Steffen J. Smolka steffen.smolka at in.tum.de
Wed Aug 3 05:22:33 PDT 2011


Thanks for the hint, I changed it.

On Wed, Aug 3, 2011 at 13:51, Wesley W. Terpstra <wesley at terpstra.ca> wrote:

> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mlton.org/pipermail/mlton-user/attachments/20110803/dcfe93cd/attachment-0001.htm


More information about the MLton-user mailing list