> If you put
>   SRC_HC_OPTS += -keep-tmp-files -tmpdir tmp
> in mk/build.mk or mk/validate.mk (depending on whether or not you are
> validating) then it will be used for all compilations.

I did this for "mk/build.mk" but nothing changed.

"inplace/bin/ghc-stage1" -static  -H32m -O -keep-tmp-files -tmpdir tmp    
-package-name ghc-prim-0.3.1.0 -hide-all-packages -i -ilibraries/ghc-prim/. 
-ilibraries/ghc-prim/dist-install/build 
-ilibraries/ghc-prim/dist-install/build/autogen 
-Ilibraries/ghc-prim/dist-install/build 
-Ilibraries/ghc-prim/dist-install/build/autogen -Ilibraries/ghc-prim/.    
-optP-include -optPlibraries/ghc-prim/dist-install/build/autogen/cabal_macros.h 
-package rts-1.0 -split-objs -package-name ghc-prim -XHaskell98 -XCPP 
-XMagicHash -XForeignFunctionInterface -XUnliftedFFITypes -XUnboxedTuples 
-XEmptyDataDecls -XNoImplicitPrelude -O2  -no-user-package-db -rtsopts      
-dynamic-too -odir libraries/ghc-prim/dist-install/build -hidir 
libraries/ghc-prim/dist-install/build -stubdir 
libraries/ghc-prim/dist-install/build -hisuf hi -osuf  o -hcsuf hc -c 
libraries/ghc-prim/./GHC/IntWord64.hs -o 
libraries/ghc-prim/dist-install/build/GHC/IntWord64.o -dyno 
libraries/ghc-prim/dist-install/build/GHC/IntWord64.dyn_o
tmp/ghc63821_0/ghc63821_1.split__2.s:unknown:missing indirect symbols for 
section (__DATA,__la_sym_ptr2)

> Could you also send me your complete mk/build.mk and mk/validate.mk, and
> the commands you're using to compile GHC, please?

I don't create "mk/build.mk" so far.

--Kazu
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to