Hello,
I've recently discovered ATS and I'm following the introduction guide. I'm 
having trouble compiling with patscc (myatscc works, but only for a single 
source file) when a boxed value or a closure is defined.

Example:

#include "share/atspre_staload.hats"
val _ = '(0)
implement main0 () = print "hello"

When I compile with patscc I get the following error:

main_dats.c:(.text+0x10b): undefined reference to `atsruntime_malloc_undef'

I've installed ats2 with nix; according to patsopt I'm using version 0.4.2

-- 
You received this message because you are subscribed to the Google Groups 
"ats-lang-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ats-lang-users/2b9a291a-455c-470b-818d-670b79614f49n%40googlegroups.com.

Reply via email to