Cabal problems with an executable containing c-sources
Isaac Jones
ijones at syntaxpolice.org
Thu Feb 17 22:14:32 EST 2005
Einar Karttunen <ekarttun at cs.helsinki.fi> 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.
peace,
isaac
More information about the Libraries
mailing list