Re: [hatari-devel] error: #error unrecognized CPU type

[ Thread Index | Date Index | More Archives ]

     I'd like to add that Dan Horák made a similar patch for Fedora to compile hatari under s390(x):



On Fri, Jan 13, 2017 at 2:45 PM, Radovan Birdic <Radovan.Birdic@xxxxxxxxxx> wrote:

Could you please add initial support for mips architectures in hatari?

Build for hatari package on Debian fails on mips architectures with following error:

> In file included from /«BUILDDIR»/hatari-2.0.0+dfsg/src/msa.c:18:0:
> /«BUILDDIR»/hatari-2.0.0+dfsg/src/cpu/sysdeps.h:60:2: error: #error unrecognized CPU type
>  #error unrecognized CPU type
>   ^~~~~
> src/CMakeFiles/Floppy.dir/build.make:113: recipe for target 'src/CMakeFiles/Floppy.dir/msa.c.o' failed
> make[4]: *** [src/CMakeFiles/Floppy.dir/msa.c.o] Error 1
> make[4]: Leaving directory '/«BUILDDIR»/hatari-2.0.0+dfsg/build'
> CMakeFiles/Makefile2:165: recipe for target 'src/CMakeFiles/Floppy..dir/all' failed
> make[3]: *** [src/CMakeFiles/Floppy.dir/all] Error 2
> make[3]: Leaving directory '/«BUILDDIR»/hatari-2.0.0+dfsg/build'
> Makefile:130: recipe for target 'all' failed
> make[2]: *** [all] Error 2

Full build log:

I have created and attached a patch which adds initial support for mips arches.
With this patch package builds successfully on mips, mipsel and mips64el.


Mail converted by MHonArc 2.6.19+