
On Wed, Sep 13, 2006 at 09:43:03PM +1000, Jeremy Wazny wrote:
I've attempted to build an installation of GHC which uses unregisterised libraries, but have not had much success. I am new to GHC's build system and would be grateful for some advice.
I'm trying to build the 6.4.2 source distribution on an x86 linux machine, using GHC 6.4.2 (the "Generic Linux with glibc2.3" version on the download page.) The target is the same machine.
I've created a mk/build.mk file containing just the line:
GhcUnregisterised = YES
which, according to the comment in mk/config.mk, ought to build the unregisterised libraries that I'm after (and use them by default.)
For my unregisterised builds I use: GhcUnregisterised=YES GhcWithNativeCodeGen=NO GhcWithInterpreter=NO SplitObjs=NO The "SplitObjs=NO" will solve the problem you are seeing. Thanks Ian