Re: .h files not found when compiling via C

2006-08-03 Thread Duncan Coutts
On Thu, 2006-08-03 at 12:57 +0200, Volker Wysk wrote: > On Tuesday 01 August 2006 19:54, you wrote: > > On Sun, 2006-07-23 at 18:09 +0200, Volker Wysk wrote: > > > Hello > > > > > > When compiling a module, which contains "foreign import" directives, via > > > C, the C compiler needs to be passed a

Re: .h files not found when compiling via C

2006-08-01 Thread Duncan Coutts
On Sun, 2006-07-23 at 18:09 +0200, Volker Wysk wrote: > Hello > > When compiling a module, which contains "foreign import" directives, via C, > the C compiler needs to be passed a "-I." argument, otherwise the include > file mentioned there won't be found. > > You can do this manually with an "

.h files not found when compiling via C

2006-08-01 Thread Volker Wysk
Hello When compiling a module, which contains "foreign import" directives, via C, the C compiler needs to be passed a "-I." argument, otherwise the include file mentioned there won't be found. You can do this manually with an "-I." argument to ghc (after you figure it out), but since this is a