[hatari-devel] Compil hatari under windows (cygwin)

George Nakos ggn at hol.gr
Thu Nov 4 22:25:18 CET 2010


Hello Nicolas,

Thursday, November 4, 2010, 10:58:18 PM, you wrote:

> Le 04/11/2010 21:33, Eero Tamminen a écrit :
>> Hi,
>>
>> On Thursday 04 November 2010, Laurent Sallafranque wrote:
>>> I often compile hatari under windows (cygwin) to verify if everything
>>> compiles well.
>>> Actually, I get the following error :
>>>
>>> $make
>>> [ 1%] Building C object src/CMakeFiles/Floppy.dir/createBlankImage.c.o
>>> cc1: error: unrecognized command line option "-Wno-empty-body"
>>
>> How old GCC version you have?
>>
>>
>>> I've removed the option and it compiles well.
>>
>> Sure, as it's used to ignore one of the -Wextra warnings.
>>
>> With a newer compiler Hatari will then output warnings (which Nicolas
>> though weren't worth fixing as they aren't actual bugs).

> I think Laurent is using a too old version of cygwin's gcc.

> In my case, I have :
> /usr/bin/i586-pc-mingw32-gcc --version
> i586-pc-mingw32-gcc (GCC) 4.4.2

> With it, I don't get any warning/error when doing the cross compilation,
> -Wno-empty-body is working fine and I get a working hatari.exe in the end.


I'm  using  mingw32/msys  as  a  build  enviroment with gcc 4.5.1 - it
compiles hatari, although with quite some warnings here and there. Oh,
and it always fails on hmsa. But at least it builds!


-- 
Best regards,
 George                            mailto:ggn at hol.gr




More information about the hatari-devel mailing list