[MLton-commit] r6901

Wesley Terpstra wesley at mlton.org
Thu Oct 2 03:40:27 PDT 2008


Set the symbol linkage for libarchives.


----------------------------------------------------------------------

U   mlton/trunk/regression/library/check.c
U   mlton/trunk/regression/library/libm2.c
U   mlton/trunk/regression/library/libm3.c
U   mlton/trunk/regression/library/libm4.c
U   mlton/trunk/regression/library/libm5.c

----------------------------------------------------------------------

Modified: mlton/trunk/regression/library/check.c
===================================================================
--- mlton/trunk/regression/library/check.c	2008-10-02 10:08:39 UTC (rev 6900)
+++ mlton/trunk/regression/library/check.c	2008-10-02 10:39:31 UTC (rev 6901)
@@ -3,6 +3,7 @@
 #include "check.h"
 #include "m5.h"
 #include "m4.h"
+#define DYNAMIC_LINK_M3
 #include "m3.h"
 
 extern EXTERNAL void* libm3cSymPublic;

Modified: mlton/trunk/regression/library/libm2.c
===================================================================
--- mlton/trunk/regression/library/libm2.c	2008-10-02 10:08:39 UTC (rev 6900)
+++ mlton/trunk/regression/library/libm2.c	2008-10-02 10:39:31 UTC (rev 6901)
@@ -2,7 +2,7 @@
 
 #define PART_OF_M2
 #include "m2.h"
-#define STATIC_LINK_M2
+#define STATIC_LINK_M1
 #include "m1.h"
 
 extern PUBLIC void* libm1cSymPublic;

Modified: mlton/trunk/regression/library/libm3.c
===================================================================
--- mlton/trunk/regression/library/libm3.c	2008-10-02 10:08:39 UTC (rev 6900)
+++ mlton/trunk/regression/library/libm3.c	2008-10-02 10:39:31 UTC (rev 6901)
@@ -3,6 +3,7 @@
 #define PART_OF_M3
 #include "m3.h"
 #include "m2.h"
+#define DYNAMIC_LINK_M1
 #include "m1.h"
 
 extern EXTERNAL void* libm1cSymPublic;

Modified: mlton/trunk/regression/library/libm4.c
===================================================================
--- mlton/trunk/regression/library/libm4.c	2008-10-02 10:08:39 UTC (rev 6900)
+++ mlton/trunk/regression/library/libm4.c	2008-10-02 10:39:31 UTC (rev 6901)
@@ -2,8 +2,10 @@
 
 #define PART_OF_M4
 #include "m4.h"
+#define STATIC_LINK_M3
 #include "m3.h"
 #include "m2.h"
+#define DYNAMIC_LINK_M1
 #include "m1.h"
 
 extern EXTERNAL void* libm1cSymPublic;

Modified: mlton/trunk/regression/library/libm5.c
===================================================================
--- mlton/trunk/regression/library/libm5.c	2008-10-02 10:08:39 UTC (rev 6900)
+++ mlton/trunk/regression/library/libm5.c	2008-10-02 10:39:31 UTC (rev 6901)
@@ -3,6 +3,7 @@
 #define PART_OF_M5
 #include "m5.h"
 #include "m4.h"
+#define DYNAMIC_LINK_M3
 #include "m3.h"
 
 extern EXTERNAL void* libm3cSymPublic;




More information about the MLton-commit mailing list