
Hello!
When compiling on Sun Solaris 5.9 sun4u sparc with configure
./configure --with-gmp-includes=/opt/csw/include --with-gmp-libraries=/opt/csw/lib --with-ghc=/usr/local/ghc/bin/ghc
using gcc version 4.0.2 I get the following errors
---------- errors start ----------
== gmake all -r;
in /usr/local/src/ghc-6.8.1/compiler
------------------------------------------------------------------------
/usr/local/ghc/bin/ghc -H16m -O -istage1/utils -istage1/basicTypes -istage1/types -istage1/hsSyn -istage1/prelude -istage1/rename -istage1/typecheck -istage1/deSugar -istage1/coreSyn -istage1/vectorise -istage1/specialise -istage1/simplCore -istage1/stranal -istage1/stgSyn -istage1/simplStg -istage1/codeGen -istage1/main -istage1/profiling -istage1/parser -istage1/cprAnalysis -istage1/ndpFlatten -istage1/iface -istage1/cmm -Wall -fno-warn-name-shadowing -fno-warn-orphans -Istage1 -DOMIT_NATIVE_CODEGEN -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -ignore-package lang -recomp -Rghc-timing -H16M '-#include "cutils.h"' -DUSING_COMPAT -i../compat -ignore-package Cabal -c main/Constants.lhs -o stage1/main/Constants.o -ohi stage1/main/Constants.hi
./../includes/GHCConstants.h:1:25: Not in scope: `zd'
./../includes/GHCConstants.h:2:25: Not in scope: `zd'
[...alot of these here...]
<