Erik I hereby award you the title of GHC Build System Meister. I would never have found this in a million years, but your patch indeed solves the problem. Thank you.
(Mind you, all is not yet well, as my next message shows.) Simon | -----Original Message----- | From: cvs-ghc-boun...@haskell.org [mailto:cvs-ghc-boun...@haskell.org] | On Behalf Of Erik de Castro Lopo | Sent: 15 December 2012 17:38 | To: Ian Lynagh | Cc: cvs-ghc@haskell.org | Subject: Fix for : Build failure on Windows (and others). | | Hi all, | | I have a fix for this. It seems that just recently (since | bd8f7fc56b84369f4e820263c0bcdc85760de6d4) ghc has started calling gcc | with extra comand line parameters: | | -x assembler | | From the gcc man page | | -x language | Specify explicitly the language for the following input files | (rather than letting the compiler choose a default based on | the file name suffix). This option applies to all following | input files until the next -x option. Possible values for | language are: | | c c-header cpp-output | c++ c++-header c++-cpp-output | objective-c objective-c-header objective-c-cpp-output | objective-c++ objective-c++-header objective-c++-cpp-output | assembler assembler-with-cpp | ada | f77 f77-cpp-input f95 f95-cpp-input | go | java | | The attached patch replaces '-x assembler' with '-x assembler-with-cpp' | and fixes the problem for me on powerpc. | | Erik | -- | ---------------------------------------------------------------------- | Erik de Castro Lopo | http://www.mega-nerd.com/ _______________________________________________ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc