Hi,

I've built fptools-4.08 from the cvs sources on my x86 linux box. But green-card
would not build. I fiddled with its src/Makefile as below:

# SRC_HC_OPTS    += -fvia-C -fglasgow-exts -syslib text -syslib data -syslib util 
-recomp -Rghc-timing -O
SRC_HC_OPTS    += -fvia-C -fglasgow-exts -package text -package data -package util 
-recomp -Rghc-timing -O

which helped. But finally the build failed with:

/usr/local/ghc/bin/ghc -fvia-C -fglasgow-exts -package text -package data -package 
util -recomp -Rghc-timing -O  -cpp -DBEGIN_GHC_ONLY='-}' -DEND_GHC_ONLY='{-' 
-DBEGIN_NOT_FOR_GHC='{-' -DEND_NOT_FOR_GHC='-}'  -c GreenCard.lhs -o GreenCard.o -osuf 
o
<<ghc: 167250208 bytes, 326 GCs, 2895376/5340772 avg/max bytes residency (6 samples), 
15M in use, 0.03 INIT (0.00 elapsed), 6.62 MUT (6.83 elapsed), 3.29 GC (3.43 elapsed) 
:ghc>>
/usr/local/ghc/bin/ghc     -c ErrorHook.c -o ErrorHook.o
windres ExeVersionInfo.rc ExeVersionInfo.o
make[1]: windres: Command not found
make[1]: *** [ExeVersionInfo.o] Error 127
make: *** [all] Error 1

Why is it trying to compile Windoze resources on a Linux box ?? How can I stop
it ?

Any suggestions would be appreciated.

Tim

Reply via email to