
On 2008 Nov 14, at 13:09, James Swaine wrote:
/home/jswaine/ghc/ghc-6.10.1/ghc/ghc -Wall -DCABAL_VERSION=1,6,0,1 - odir /home/jswaine/ghc/ghc-6.10.1/libraries/bootstrapping -hidir / home/jswaine/ghc/ghc-6.10.1/libraries/bootstrapping -i/home/jswaine/ ghc/ghc-6.10.1/libraries/Cabal -i/home/jswaine/ghc/ghc-6.10.1/ libraries/filepath -i/home/jswaine/ghc/ghc-6.10.1/libraries/hpc -- make cabal-bin -o cabal-bin ghc: missing -B<dir> option which still looks to me like it's somewhat related to linking (the assumption was that -B is used for this sort of thing - linking
The -B option to ghc tells it where the GHC base directory is. (The ghc in the public bin directory is a shell script which runs the real ghc passing -B to point to its base directory.) If you see that error, something is *very* wrong with your build tree. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH