[MLton-devel] NetBSD porting and problems
Jesper Louis Andersen
jlouis@mongers.org
Sun, 17 Aug 2003 13:19:33 +0100
Quoting Jesper Louis Andersen (jlouis@mongers.org):
> Ok, I got a bit further. The new plan was to compile a minimal program:
>
> val _ = print "Hello World\n"
>
Progress! helloword.sml now compiles and works. The problem was centered
around a simple problem. From main/main.sml
Index: ./mlton/main/main.sml
===================================================================
Original: ./mlton/main/main.sml
diff -u <original> ./mlton/main/main.sml
--- ./mlton/main/main.sml
+++ ./mlton/main/main.sml Sun Aug 17 14:13:02 2003
@@ -620,7 +620,7 @@
libraries and does never rely on ldconfig or
$LD_LIBRARY_PATH *)
| NetBSD =>
- ["-Wl,-R/usr/pkg/lib -L/usr/pkg/lib", "-lgmp"]
+ ["-Wl,-R/usr/pkg/lib", "-L/usr/pkg/lib", "-lgmp"]
| Linux =>
let
val conf = "/etc/ld.so.conf"
I still have numerous outstanding bugs and problems (not reporting the
correct amount of swap for instance). Those will be solved in the near
future (i hope). MLton cannot compile itself yet, but I hope I can get
it to do so.
--
j.
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
MLton-devel mailing list
MLton-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlton-devel