Hi, Using a version of GHC HEAD on Windows XP, built in the last hour, I get a compilation failure when building haddock. It's possible this is a Cabal issue, so I've cc'd Duncan.
I'm compiling haddock HEAD using GHC Paths 1.0.5. To compile haddock I
required two patches, which I've attached to this message, and darcs
sent as well. The build succeeds until right near the end:
C:\Neil\haddock>runghc Setup build
Preprocessing library haddock-2.2.2...
Preprocessing executables for haddock-2.2.2...
Building haddock-2.2.2...
C:\ghc\ghc-6.9.20080905\bin\ar.exe: creating
dist\build\libHShaddock-2.2.2.a
src\Paths_haddock.hs:1:15:
Warning: -fffi is deprecated: use -XForeignFunctionInterface or
pragma {-# L
ANGUAGE ForeignFunctionInterface#-} instead
[24 of 24] Compiling Main ( src\Main.hs,
dist\build\haddock\haddock-
tmp\Main.o )
Linking dist\build\haddock\haddock.exe ...
C:\ghc\ghc-6.9.20080905\bin/windres: CreateProcess (null): No error
The relevant bit of the -v3 info seems to be:
Linking dist\build\haddock\haddock.exe ...
*** Windres:
C:\ghc\ghc-6.9.20080905\bin/windres
--preprocessor="C:\ghc\ghc-6.9.20080905\gcc"
"-BC:\ghc\ghc-6.9.20080905\gcc-lib/" "-E" "-xc" "-DRC_INVOKED"
--use-temp-file
--input=C:\DOCUME~1\nmitche6\LOCALS~1\Temp\/ghc704_0/ghc704_0.rc
--output=C:\DOC
UME~1\nmitche6\LOCALS~1\Temp\/ghc704_0/ghc704_0.o --output-format=coff
C:\ghc\ghc-6.9.20080905\bin/windres: CreateProcess (null): No error
Any suggestions?
Thanks
Neil
==============================================================================
Please access the attached hyperlink for an important electronic communications
disclaimer:
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================
haddock.patch
Description: haddock.patch
_______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
