[Haskell-cafe] Haskell with C++: removing runtime dependencies on Windows 10.

David Banas capn.freako at gmail.com
Fri Jan 20 14:42:43 UTC 2017

Hi Deech,

Not sure this is helpful, as I haven’t tested it on Windows 10, but here are the gcc/ghc compile/link options I use for a project that has a similar need:

CC = gcc
CFLAGS += -I/usr/lib/ghc-7.4.2/include/ -g -fPIC

HC      = ghc
EXTRA_HC_OPTS = -package parsec -dynamic -fPIC -rtsopts
HC_LOPTS = -shared -dynamic -package parsec -lHSrts -lm -lffi -lrt


More information about the Haskell-Cafe mailing list