where c2hs -d trace -d genbind -d ctrav -k -t /out/dir -C "..." is the actual command. C2hs creates *.chs files in the current directory while *.chs.h and *.hs files in the output. But it fails to produce meaningful *.hs files because it can't find the *.chs files. Maybe it makes sense to put them in the same output directory as well?
I use the following way to produce Haskell bindings:
where
c2hs -d trace -d genbind -d ctrav -k -t /out/dir -C "..."
is the actual command. C2hs creates*.chs
files in the current directory while*.chs.h
and*.hs
files in the output. But it fails to produce meaningful*.hs
files because it can't find the*.chs
files. Maybe it makes sense to put them in the same output directory as well?