RE: Stack trace on error (and packages)

23 Apr
2001
23 Apr
'01
1:56 p.m.
Also, less importantly, how do I generate packages? I have a bunch of .o files (modules) all compiled using -package-name and -c, but I can't find the correct ghc flag to link them into a library (.a/Linux).
You use the usual 'ar' tool for making a .a library, something like: $ ar cru libfoo.a a.o b.o c.o To make this into a package, see the section on packages in the user's guide: http://www.haskell.org/ghc/docs/5.00/set/packages.html Cheers, Simon
8931
Age (days ago)
8931
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow