Stack trace on error (and packages)

Simon Marlow
Mon, 23 Apr 2001 14:56:02 +0100

> Also, less importantly, how do I generate packages?  I have a bunch of
> .o files (modules) all compiled using -package-name and -c,=20
> 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