Problem with porting GHC

Liwen Huang liwen.huang at yale.edu
Fri Apr 29 17:49:14 EDT 2005


 Hello

 I am trying to port GHC to QNX machines. I followed the instructions in
 the document of porting GHC strictly.

 Everything went well until I came to the step
 $cd H/ghc/lib
 $make -k UseStage1=YES EXTRA_HC_OPTS='-O -fvia-C -keep-hc-files'

 I was given following error messages
 -------------------------------------
 System/Directory/Internals.hs:1:0:
     Module `System.Directory.Internals' is a member of package base-1.0.
     To compile this module, please use -ignore-package base-1.0.
 -------------------------------------

 I have tried to add the option, but then the compiler can not find Prelude.

 My host machine is running redhat9.0.  It also has ghc-6.4 installed. Will 
that be the reason why I got  this problem when creating a unregisterised 
GHC.

 Thanks,
 Liwen



More information about the Glasgow-haskell-users mailing list