Re: Linker errors when building ADATE with amd64

Lars Magnusson <[email protected]>
Newsgroups gmane.comp.lang.ml.mlton.devel
Message-ID <[email protected]>
Thanks for the reply.

I've tried losing the static (among other flags) but the same linker
errors remain.

The problem is introduced when I include the execute.c file. But this
file compiles and links just fine when compiled separately with the
same flags used by mlton.

-Lars Magnusson

On Fri, Oct 22, 2010 at 12:05 PM, Wesley W. Terpstra <[email protected]> wrote:
> On Tue, Oct 19, 2010 at 9:51 AM, Lars Magnusson <[email protected]> wrote:
>> mlton @MLton fixed-heap 800m -- -link-opt '-mmodel=medium -fPIC
>> -static' -verbose 1 -codegen amd64 -const 'Exn.keepHistory true'
>> -runtime 'ram-slop 1.0' -default-ann 'allowFFI true' makespec.sml
>> ./execute.c ./ampi_interface_mlton.c ./svd_lin_solve.c
>
> Lose the '-static'.
>
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.