RE: user package blocks standard ones

2003-10-21 Thread Simon Marlow
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

Re: user package blocks standard ones

2003-10-21 Thread Serge D. Mechveliani
On Tue, Oct 21, 2003 at 01:56:38PM +0100, Simon Marlow wrote: 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.

user package blocks standard ones

2003-10-20 Thread Serge D. Mechveliani
Please, what is the matter with the packages in ghc-6.0.1 ? (ghc-6.0.1 installed from RPM on Red Hat Linux release 7.3 (Valhalla), i-386 unknown ) It does not find the library items, say List.sort, when it `makes' under the user package in the user project importing standard

Re: user package blocks standard ones

2003-10-20 Thread Sven Panne
Serge D. Mechveliani wrote: [...] /home/mechvel/test/export/HSdocon.o: unknown symbol `__stginit_List_' [...] Then, occasionally, tried to set package_deps = [data] , even though my contrived user package does not use data. And it started to work, to load everything needed! Then I try