Objective-C sources

Duncan Coutts duncan.coutts at googlemail.com
Fri Dec 11 09:00:14 EST 2009


On Fri, 2009-12-11 at 02:42 -0600, Brian Lewis wrote:
> I'm making bindings to a library partially written in Objective-C. If I
> put those sources under c-sources, I get stuff like
> 
> Warning: the following files would be used as linker inputs, but linking
> is not being done: glfw/lib/cocoa/cocoa_enable.m
> ghc: no input files

http://hackage.haskell.org/trac/hackage/ticket/188

> How can I fix this?

I don't think there's a simple solution.

You could build the code yourself in the Setup.hs and include it into
the library, however cabal does not provide anything particularly useful
to help you with that.

If you've got the time to help us with a proper solution that'd be much
appreciated.

Duncan



More information about the cabal-devel mailing list