What Cabal stuff is permanent?

John Goerzen jgoerzen at complete.org
Tue Jun 7 09:15:48 EDT 2005


On Tue, Jun 07, 2005 at 02:06:34PM +0100, Duncan Coutts wrote:
> > of this library" through Cabal.
> 
> I suspect that any C .h files you need at build time will also be needed
> by programs which use the library that you are building, since GHC can
> inline FFI calls across modules in which case the client module needs
> the .h files when compiling too. And so they should be installed along
> with your library (assuming it is a library and not a program you're
> building) and their location mentioned in the .cabal file.

Hmm.  I have had several cases where I haven't included these .h files,
and things still seem to have worked OK.  I do that in MissingPy, for
instance.  I know that WASH has a .h file that it has not traditionally
installed.

-- John


More information about the Libraries mailing list