ARM and Real

Kostirya <[email protected]> Mon, 28 Oct 2019 16:24:51 +0200
Newsgroups gmane.comp.lang.ml.mlton.user
Message-ID <CAG+QnTe6Z5PvFVwkh50v5xRyX5TfZCdoA4A53=g0_sAZ1bQYPw@mail.gmail.com>
Hello.
I try use MLton on FreeBSD ARM.
I have a request. Please, Run a simple program with SML Real types on
Linux ARM (I have not Linux).
For example:
val x = 2.5 * 2.5
val _ = print (Real.toString x ^ "\n")

I build this code by help cross-compiling:
mlton -target armv7-freebsd12-eabi -codegen c  -default-type word32
-default-type int32 -default-type real32 f.sml

Thanks.

-- 
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].