When building base with my QNXNTO cross-compiling GHC, I get the following:

"inplace/bin/ghc-stage1" -static -H64m -O0 -fasm -package-name base-4.7.0.0 
-hide-all-packages -i -ilibraries/base/. -ilibraries/base/dist-install/build 
-ilibraries/base/dist-install/build/autogen -Ilibraries/base/dist-install/build 
-Ilibraries/base/dist-install/build/autogen -Ilibraries/base/include -optP-include 
-optPlibraries/base/dist-install/build/autogen/cabal_macros.h -package ghc-prim-0.3.1.0 
-package integer-simple-0.1.1.0 -package rts-1.0 -package-name base -XHaskell98 -XCPP -O 
-fasm -no-user-package-db -rtsopts -odir libraries/base/dist-install/build -hidir 
libraries/base/dist-install/build -stubdir libraries/base/dist-install/build -hisuf hi 
-osuf o -hcsuf hc -c libraries/base/./Foreign/C/Types.hs -o 
libraries/base/dist-install/build/Foreign/C/Types.o

libraries/base/Foreign/C/Types.hs:162:25:

Not in scope: type constructor or class `HTYPE_FLOAT'

libraries/base/Foreign/C/Types.hs:162:215:

Not in scope: type constructor or class `HTYPE_FLOAT'

libraries/base/Foreign/C/Types.hs:162:290:

Not in scope: type constructor or class `HTYPE_FLOAT'

libraries/base/Foreign/C/Types.hs:162:398:

Not in scope: type constructor or class `HTYPE_FLOAT'

libraries/base/Foreign/C/Types.hs:162:470:

Not in scope: type constructor or class `HTYPE_FLOAT'

libraries/base/Foreign/C/Types.hs:162:548:

Not in scope: type constructor or class `HTYPE_FLOAT'

libraries/base/Foreign/C/Types.hs:164:27:

Not in scope: type constructor or class `HTYPE_DOUBLE'

libraries/base/Foreign/C/Types.hs:164:219:

Not in scope: type constructor or class `HTYPE_DOUBLE'

libraries/base/Foreign/C/Types.hs:164:295:

Not in scope: type constructor or class `HTYPE_DOUBLE'

libraries/base/Foreign/C/Types.hs:164:405:

Not in scope: type constructor or class `HTYPE_DOUBLE'

libraries/base/Foreign/C/Types.hs:164:478:

Not in scope: type constructor or class `HTYPE_DOUBLE'

libraries/base/Foreign/C/Types.hs:164:557:

Not in scope: type constructor or class `HTYPE_DOUBLE'

make[1]: *** [libraries/base/dist-install/build/Foreign/C/Types.o] Error 1

make: *** [all] Error 2

If I hack the generated header file to include these (set to Double and Float, respectively) things seem to work, though I'm not sure how to verify that they are working for sure. What are these values primarily for, and how should I improve the configure system to work in my case?

--
Stephen Paul Weber, @singpolyma
See <http://singpolyma.net> for how I prefer to be contacted
edition right joseph

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to