user package blocks standard ones

Simon Marlow simonmar at microsoft.com
Tue Oct 21 08:56:38 EDT 2003


> Question on  ghc-pkg -g
> =======================
> 
> User guide for packages does not explain this precisely.
> I suspect that       
>                                          ghc-pkg -g
> may help to replace the messy line
>        
>     ld -r -x --whole-archive $(e)/libHSdocon.a -o $(e)/HSdocon.o
> 
> in the above Makefile, but cannot guess how to use here this  
> ghc-pkg -g.

Yes, that's exactly what ghc-pkg -g does.  It's usage is
straightforward.  Could you elaborate on what you find unclear?  Did you
try just adding -g to the ghc-pkg command line?

Cheers,
	Simon


More information about the Glasgow-haskell-bugs mailing list