Hi, That was indeed it, and your suggested fix makes it work.
So I guess GHC needs to either warn about a too recent windres, or fix itself so it can use the latest one. Thanks Neil > -----Original Message----- > From: shelarcy [mailto:[EMAIL PROTECTED] > Sent: 11 September 2008 1:45 pm > To: Mitchell, Neil > Cc: [email protected]; Duncan Coutts > Subject: Re: Failure to build Haddock with GHC HEAD on Windows > > Hi, > > On Thu, 11 Sep 2008 20:00:30 +0900, Mitchell, Neil > <[EMAIL PROTECTED]> wrote: > > 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. > > > > (snip) > > > > [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 > > I think this is a GHC's bug. Because current GHC doesn't work > with windres 2.17.50 which is installed by latest MinGW package. > > C:\home\ghc-6.9.20080720\libraries\GLUT\examples\OrangeBook\og > l2brick> ghc Brick .hs --make > C:\home\ghc-6.9.20080720\ghc-6.9.20080715\bin/windres: > CreateProcess (null): No error > > C:\home> > C:\home\ghc-6.9.20080720\ghc-6.9.20080715\bin\windres.exe -V > GNU windres 2.17.50 20060824 Copyright 2005 Free Software > Foundation, Inc. > This program is free software; you may redistribute it under > the terms of the GNU General Public License. This program > has absolutely no warranty. > > I fixed this problem by using older windres. > > C:\home\ghc-6.9.20080720\libraries\GLUT\examples\OrangeBook\og > l2brick> C:\home\g > hc-6.9.20080720\ghc-6.9.20080715\bin\windres.exe -V GNU > windres 2.15.91 20040904 Copyright 2004 Free Software Foundation, Inc. > This program is free software; you may redistribute it under > the terms of the GNU General Public License. This program > has absolutely no warranty. > > C:\home\ghc-6.9.20080720\libraries\GLUT\examples\OrangeBook\og > l2brick> ghc Brick .hs --make Linking Brick.exe ... > > > > Any suggestions? > > So, how about replacing ghc\bin's windres by ghc-6.8.x\bin's windres? > Can't you fix your prolem by this way? > > > Best Regards, > > -- > shelarcy <shelarcy hotmail.co.jp> > http://page.freett.com/shelarcy/ > > ============================================================================== Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html ============================================================================== _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
