[Ur] Linking to C Libraries
Adam Chlipala
adamc at impredicative.com
Fri Dec 16 21:01:10 EST 2011
James Parker wrote:
> I'm trying to use a C FFI module that links to the mhash library. When I compile I'm getting a bunch of "undefined reference to" errors. I believe this can be fixed if I add the -lmhash flag to the gcc compilation. Is there someway I can specify this in urweb?
>
You probably want the "link" .urp file directive. This directive and
all the others are documented in a section of the manual.
More information about the Ur
mailing list