Build system oddness

Simon Marlow marlowsd at gmail.com
Wed Jun 16 08:32:33 EDT 2010


On 16/06/2010 13:09, Simon Peyton-Jones wrote:
> 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.

Since the new build system it now only works at the root.  We could 
probably fix this without too much difficulty.

Cheers,
	Simon



> 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
>
>
>
> _______________________________________________
> Cvs-ghc mailing list
> Cvs-ghc at haskell.org
> http://www.haskell.org/mailman/listinfo/cvs-ghc



More information about the Cvs-ghc mailing list