[Haskell-cafe] Newbie question: ghc search path for .c files

Ian Lynagh igloo at earth.li
Fri Mar 16 15:22:37 EDT 2007


Hi Seth,

On Fri, Mar 16, 2007 at 01:53:49PM -0500, Seth J. Fogarty wrote:
> 
> :> ghc -i/home/sfogarty/lib/lp_solve_5.5 mipFFI.c
> mipFFI.c:1:0:  lpkit.h: No such file or directory

ghc -I/home/sfogarty/lib/lp_solve_5.5 mipFFI.c

should work. If not, add -v to the commandline to see what it is doing.

> And another question while I am here: -package posix and -package lang
> don't seem to be included on my distribution of ghc.

They are gone now. Programs using them should be updated to use newer
libraries instead - which ones will depend on what you were using from
them.


Thanks
Ian



More information about the Haskell-Cafe mailing list