
15 Oct
2002
15 Oct
'02
9:17 a.m.
How do I go about linking to a static library when using --make?
If i do
ghc --make Module libmodulelib.a
then ghc syas:
chasing modules from Module,libmodulelib.a and complains about not being able to find the _module_ modulelib.a. Likewise on windows, if I do
ghc --make Module modulelib.dll
it also complains about not finding the _module_ modulelib.dll.
If I specify the object files that makes up modulelib then there are no complaints, likewise, if I link without --make, ghc uses the library just fine.
Thanks, I've fixed this to do The Right Thing, I think. Cheers, Simon
8254
Age (days ago)
8254
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow