GHCi and C libraries

Simon Marlow simonmar@microsoft.com
Tue, 13 Feb 2001 06:23:03 -0800


> > In the meantime, it's trivial to make a .o from a .a.
> 
> How? I was not able to do it (ld produced almost empty file).

$ ld -r -x --whole-archive -L. -lHSstd -o HSstd.o

Cheers,
	Simon