Changes to make fptools insfrastructure usable for standalone
libraries
Simon Marlow
simonmar at microsoft.com
Wed May 21 11:54:27 EDT 2003
> After adding this to my library Makefile
>
> SRC_CC_OPTS += -I$(shell $(GHC) --print-libdir)/include
The right way to do this is to use GHC as your C compiler. You can do
this by adding at the top of your Makefile:
UseGhcForCc = YES
*before* the include of boilerplate.mk.
> If it still works for ghc builders, I think what you have is
> enough progress that it should be committed.
Ok, I'll do that.
> I haven't yet tried setting up libraries/X11/mk/*.mk as you suggest...
This will solve your other problems, I suspect.
Cheers,
Simon
More information about the Glasgow-haskell-bugs
mailing list