From: Axel S. <A....@ke...> - 2005-03-23 13:43:52
|
On Tue, 2005-03-22 at 14:32 +0000, Duncan Coutts wrote: > > BTW, I had to add -I. to compile > > c2hs since ghc doesn't look in the current directory anymore when > > searching for C include files (even if you say #include"..." which is > > supposed to look into . as well). > > Is that the same thing I fixed? I changed: > > tools_c2hs_toplevel_C2HSConfig_hs_HCFLAGS = -fffi -fvia-C \ > '-\#include<tools/c2hs/toplevel/c2hs_config.h>' > > to > > tools_c2hs_toplevel_C2HSConfig_hs_HCFLAGS = -fffi -fvia-C \ > '-\#include<c2hs_config.h>' > > It's in cvs. Oh. That's a better fix. I added -I. : tools_c2hs_toplevel_C2HSConfig_hs_HCFLAGS = -fffi -fvia-C \ -I. '-\#include<tools/c2hs/toplevel/c2hs_config.h>' Axel. |