build system issues

Simon Marlow marlowsd at gmail.com
Mon Jun 1 06:17:45 EDT 2009


On 30/05/2009 11:16, Claus Reinke wrote:
>>>> windres --preprocessor="c:/mingw/bin/gcc -E -xc -DRC_INVOKED" -o
>>>> driver/ghci/ghci.res -i driver/ghci/ghci.rc -O coff
>>>> c:\MinGW\bin\windres.exe: can't open icon file `ghci.ico': No such file
>>>> or directory
>>>> make[1]: *** [driver/ghci/ghci.res] Error 1
>>>> make: *** [all] Error 2
>>>
>>> I don't see that error.
>>
>> Note that ghci.ico is in driver/ghci/, not in the directory from which
>> that
>> command is being run, and ghci.rc tries to refer to it locally (why
>> not 'cd;windres;cd -' ?).
>
> According to windres docs, the call to windres in driver/ghci/ghc.mk
> needs a '-I driver/ghci', so that the 'ghci.ico' referred to can be found.
> Adding this avoids the error for my windres (2.16.91 20050827) - do
> newer versions add that directory implicitly?

I don't know, but I'm using 2.18.50.20080109.

Cheers,
	Simon



More information about the Cvs-ghc mailing list