Build system oddness

Simon Peyton-Jones simonpj at microsoft.com
Wed Jun 16 08:09:10 EDT 2010


Ian

It used to be the case that one could say 'make show VALUE=GhcStage1HcOpts' to see the value of that variable. But not now.  See below.  It still works in the root directory.

Moreover 'make tags' doesn't seem to work any more (anywhere).  It seems to just try to build the compiler. (Which doesn't build yet because I'm writing the code!)

Thanks

Simon



bash-3.2$ pwd
/home/simonpj/builds/ghc-new-tc/compiler

bash-3.2$ make show VALUE=GhcStage1HcOpts
make -C .. compiler/show
make[1]: Entering directory `/64playpen/simonpj/builds/ghc-new-tc'
===--- updating makefiles phase 0
make -r --no-print-directory -f ghc.mk phase=0 just-makefiles
===--- updating makefiles phase 1
make -r --no-print-directory -f ghc.mk phase=1 just-makefiles
===--- updating makefiles phase 2
make -r --no-print-directory -f ghc.mk phase=2 just-makefiles
===--- updating makefiles phase 3
make -r --no-print-directory -f ghc.mk phase=3 just-makefiles
ghc/ghc.mk:123: ghc/stage1/build/.depend.haskell: No such file or directory
"/home/simonmar/fp/bin/x86_64-unknown-linux/ghc"   -H32m -O -Wall -Werror -H64m -O0  -package-conf libraries/bootstrapping.conf  -package-name ghc-6.13 -hide-all-packages -i -icompiler/nativeGen -icompiler/basicTypes -icompiler/cmm -icompiler/codeGen -icompiler/coreSyn -icompiler/deSugar -icompiler/ghci -icompiler/hsSyn -icompiler/iface -icompiler/main -icompiler/parser -icompiler/prelude -icompiler/profiling -icompiler/rename -icompiler/simplCore -icompiler/simplStg -icompiler/specialise -icompiler/stgSyn -icompiler/stranal -icompiler/typecheck -icompiler/types -icompiler/utils -icompiler/vectorise -icompiler/stage1/build -icompiler/stage1/build/autogen -Icompiler/stage1/build -Icompiler/stage1/build/autogen -Icompiler/stage1 -Icompiler/../libraries/base/cbits -Icompiler/../libraries/base/include -Icompiler/. -Icompiler/parser -Icompiler/utils    -optP-include -optPcompiler/stage1/build/autogen/cabal_macros.h -package Cabal-1.9.1 -package array-0.3.0.1 -package base-4.2.0.2 -package bin-package-db-0.0.0.0 -package bytestring-0.9.1.7 -package containers-0.3.0.0 -package directory-1.0.1.1 -package filepath-1.1.0.4 -package hpc-0.5.0.5 -package old-time-1.0.0.5 -package process-1.0.1.3 -package unix-2.4.0.2  -Wall -fno-warn-name-shadowing -fno-warn-orphans -XCPP -XMagicHash -XUnboxedTuples -XPatternGuards -XForeignFunctionInterface -XEmptyDataDecls -XTypeSynonymInstances -XMultiParamTypeClasses -XFlexibleInstances -XRank2Types -XScopedTypeVariables -XDeriveDataTypeable -XRelaxedPolyRec -DSTAGE=1 -O     -odir compiler/stage1/build -hidir compiler/stage1/build -stubdir compiler/stage1/build -hisuf hi -osuf  o -hcsuf hc -c compiler/typecheck/Inst.lhs -o compiler/stage1/build/Inst.o

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/cvs-ghc/attachments/20100616/2d6301ff/attachment.html


More information about the Cvs-ghc mailing list