(Forwarded for the archive)<br><br><div class="gmail_quote"><div class="im">On Tue, Sep 21, 2010 at 11:28 AM, Bernard Berthomieu <span dir="ltr"><<a href="mailto:bernard@laas.fr" target="_blank">bernard@laas.fr</a>></span> wrote:<br>
</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
let val intsize = _import "IntSize" : unit -> int;<br></div><div class="im">C:\Users\bernard\AppData\Local\Temp\fileaVhuWq.o:fake:(.text+0x38fc): undefined reference to `_imp__IntSize'<br></div></blockquote>
<div><br></div><div>
You are probably statically linking the symbol, not dynamically linking. This distinction only matters on Windows.</div><div><br></div><div>Use _import "intSize" public : unit -> int;</div><div><br></div></div>
</div><br>