F152 - Failure Feedback Forum
I tried to compile it on cygwin with CXXFLAGS=-mno-cygwin and LDFLAGS=-mno-cygwin. The resulting Makefile had the flag in CXXFLAGS but not in LDFLAGS, so linking failed. For reasons obscure to me, the following patch fixes it (although compiling demo.exe fails, nonetheless my Python-Metakit-using app works):
Mon Apr 30 12:17:45 MDT 2007 [email protected]
* add LINK_SPECIAL_FLAGS=$(LDFLAGS)
diff -rN -u old-metakit-2.4.9.6/metakit-2.4.9.6/unix/configure new-metakit-2.4.9.6/metakit-2.4.9.6/unix/configure
--- old-metakit-2.4.9.6/metakit-2.4.9.6/unix/configure 2007-05-07 11:26:54.000000000 -0600
+++ new-metakit-2.4.9.6/metakit-2.4.9.6/unix/configure 2007-05-07 11:26:54.000000000 -0600
@@ -3571,6 +3571,7 @@
;;
*)
LDFLAGS="${LDFLAGS} -lstdc++"
+ LINK_SPECIAL_FLAGS="${LDFLAGS}"
;;
esac
diff -rN -u old-metakit-2.4.9.6/metakit-2.4.9.6/unix/configure.in new-metakit-2.4.9.6/metakit-2.4.9.6/unix/configure.in
--- old-metakit-2.4.9.6/metakit-2.4.9.6/unix/configure.in 2007-05-07 11:26:54.000000000 -0600
+++ new-metakit-2.4.9.6/metakit-2.4.9.6/unix/configure.in 2007-05-07 11:26:54.000000000 -0600
@@ -266,6 +266,7 @@
;;
*)
LDFLAGS="${LDFLAGS} -lstdc++"
+ LINK_SPECIAL_FLAGS="${LDFLAGS}"
;;
esac
Imported
(Changed: stat desc)
(Changed: stat)
Note sure - it might be better to add LDFLAGS to the makefile.
(Changed: stat)