Cabal problems with an executable containing c-sources

Isaac Jones ijones at
Thu Feb 17 22:14:32 EST 2005

Einar Karttunen <ekarttun at> writes:

> Executable:     tt
> Main-Is:        test.hs
> C-Sources:      a.c
> Extensions:     ForeignFunctionInterface
> a.c is completely ignored by Cabal.

>From looking at the source code, it seems you are right.  I'll fix
this ASAP (hopefully late tonight). FWIW, the problem is around line
165 of Distribution.Simple.Build.  It's clear that we process C
sources for libraries but not executables.



More information about the Libraries mailing list