[hatari-devel] Compil hatari under windows (cygwin)
Nicolas Pomarède
npomarede at corp.free.fr
Thu Nov 4 21:58:18 CET 2010
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.
Nicolas
More information about the hatari-devel
mailing list