Preparing a Registered hc-file-bundle (Was BootstrappingwithHCfiles)

Simon Marlow simonmar at microsoft.com
Fri Dec 16 06:43:18 EST 2005


On 15 December 2005 16:19, Andrew Walrond wrote:

> Hi Simon,
> 
> On Wednesday 14 December 2005 09:49, Simon Marlow wrote:
>> Actually, looking at ghc/Makefile, it is possible that ghc/lib isn't
>> getting built early enough.  Try changing:
>> 
>>   SUBDIRS = includes rts docs compiler lib utils driver
>> 
>> to
>> 
>>   SUBDIRS = includes rts lib docs compiler utils driver
>> 
> 
> Did that. Now I get to here:
> 
>
------------------------------------------------------------------------
> ===fptools== Recursively making `all' in compat ...
> PWD = /home/andrew/test/ghc/bs/target/ghc-6.4.1/ghc/lib
>
------------------------------------------------------------------------
>
------------------------------------------------------------------------
> ==fptools== make all - --no-print-directory -r;
>  in /home/andrew/test/ghc/bs/target/ghc-6.4.1/ghc/lib/compat
>
------------------------------------------------------------------------
> make[2]: *** No rule to make target `Compat/Directory.o', needed by
> `ghccompat.o'.  Stop.
> make[1]: *** [all] Error 1
> make: *** [all] Error 1
> make: Leaving directory
> `/home/andrew/test/ghc/bs/target/ghc-6.4.1/ghc' 
> 
> Any clues how to proceed?

I have no idea what has gone wrong here.  We ought to be able to make
Compat/Directory.o.  However, we don't need ghccompat.o, so you could
try adding:

GhcWithInterpter=NO

to ghc/lib/compat/Makefile, right after the NO_INSTALL_LIBRARY setting.
If that doesn't work, please run 'make -p -d' in ghc/lib/compat and send
me the output.

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list