logo       

RE: Changes to make fptools insfrastructure usable for standalone librar: msg#00029

lang.haskell.glasgow.bugs

Subject: RE: Changes to make fptools insfrastructure usable for standalone libraries


> 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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise