From 6194258bdd7cb37fefac87f409f6ebcd84d6406a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 26 Feb 2014 18:31:18 -0400 Subject: tiny process on XMPP --- doc/todo/windows_support.mdwn | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'doc') diff --git a/doc/todo/windows_support.mdwn b/doc/todo/windows_support.mdwn index 599fbbbbf..67dfc970c 100644 --- a/doc/todo/windows_support.mdwn +++ b/doc/todo/windows_support.mdwn @@ -12,14 +12,25 @@ now! --[[Joey]] This should work to install the deps, using libs from cygwin - cabal install libxml-sax --extra-lib-dirs=C:\\cygwin\\lib --extra-include-dirs=C:\\cygwin\\usr\\include\\libxml2 - cabal install gnuidn --extra-lib-dirs=C:\\cygwin\\lib --extra-include-dirs=C:\\cygwin\\usr\\include\\ - cabal install gnutls --extra-lib-dirs=C:\\cygwin\\lib --extra-include-dirs=C:\\cygwin\\usr\\include\\ +
+cabal install libxml-sax --extra-lib-dirs=C:\\cygwin\\lib --extra-include-dirs=C:\\cygwin\\usr\\include\\libxml2
+cabal install gnuidn --extra-lib-dirs=C:\\cygwin\\lib --extra-include-dirs=C:\\cygwin\\usr\\include\\
+cabal install gnutls --extra-lib-dirs=C:\\cygwin\\lib --extra-include-dirs=C:\\cygwin\\usr\\include\\
+
While the 1st line works, the rest fail oddly. Looks like lack of - quoting when cabal runs c2hs and gcc, as "Haskell Platform" is - taken as 2 filenames. Needs investigation why this happens here - and not other times.. + quoting when cabal runs c2hs. This can be worked around by + unpacking the tarball, manually running c2hs, and deleting the .chs + files. + + However, then it fails: + +
+Building gnuidn-0.2.1...
+Preprocessing library gnuidn-0.2.1...
+[1 of 4] Compiling Data.Text.IDN.Internal ( lib\Data\Text\IDN\Internal.hs, dist\build\Data\Text\IDN\Internal.o )
+C:/Program Files/Haskell Platform/2013.2.0.0/mingw/bin/../lib/libmingw32.a(main.o):main.c:(.text+0xd2): undefined reference to `WinMain@16'
+
Also needs gsasl, which is not in cygwin. See -- cgit v1.2.3