[hatari-devel] Patch for AmigaOS4 compatibility...

Daniel S. Lobitz D at dersumpf.de
Sat May 7 10:10:53 CEST 2011


Hi,

i know, but cmake needs a fork and pipe mechanism like unix (posix) or like 
windows (9x or xp and higher). In the moment i try to prepare a workaround or 
a solution for cmake for PPC-AOS4. But i don't think this will be done in the 
next month (to less time and to low priority).
And then there are much other operating systems whithout cmake, where i 
compiled hatari succesfully.

When you say: we don't suppord this operating systems. It's okay.

The third file (the patch file):
when you have a gcc cross-compiled under cygwin then you get something like 
this with gcc -v:

Using built-in specs.
Target: ....
Configured: .... --build=i486-cygwin ....
Thread model: ....
gcc version 4.4.4 ....

The line in the makefile
	ifneq ($(strip $(shell gcc -v 2>&1 |grep "cygwin")),)
will found a cygwin gcc but the target isn't cygwin.

a workaround is:
ifneq ($(strip $(shell gcc -v 2>&1 |grep "Target:" |grep "cygwin")),)

Lobo



Am Friday 06 May 2011 22:29:50 schrieb Eero Tamminen:
> Hi,
>
> On perjantai 06 toukokuu 2011, Daniel S. Lobitz wrote
> > but what is on systems without a cmake version?
>
> If you don't have a binary version of CMake, you could try building it.
>
> According to CMake page:
> 	http://www.cmake.org/cmake/help/install.html
>
> Building it for unix compatible systems is supposed to be simply just:
>   ./bootstrap
>     make
>     make install
>
> No idea where there will be problems on AmigaOS when building CMake.
> (I've never built it from sources myself)
>
> > And with the patch?
>
> Sorry, I don't understand the question.
>
>
> 	- Eero
>
> (If you ask me, I would have kept the old Makefiles longer for niche OSes,
> but Thomas wanted them to be removed once we switched to CMake. :-/)
>
> > Lobo
> >
> > Am Sunday 01 May 2011 21:07:14 schrieb Eero Tamminen:
> > > Hi,
> > >
> > > On sunnuntai 01 toukokuu 2011, Daniel S. Lobitz wrote:
> > > > I prepared a littel zip file with a patch, a config-AmigaOS4.h  and a
> > > > Makefile-AmigaOS4.cnf.
> > > >
> > > > The patch is for a littel bug in the Makefile and amiga compatibility
> > > > in file.c.
> > > >
> > > > The Bug in the Makefile: under a non windows system with a
> > > > cygwin-build gcc windows parts will be included.
> > > >
> > > > Please have a look on this.
> > >
> > > Hatari isn't anymore built with Autotools or hand crafted Makefiles &
> > > config.h.  It uses CMake for its configuration & building.
> > >
> > > Please check out the latest Hatari sources as described here:
> > > 	http://developer.berlios.de/hg/?group_id=10436
> > >
> > > And adapt that instead.  It's going to be released later this month as
> > > v1.5.
> > >
> > >
> > > (I don't know whether there's CMake for AmigaOS, quick googling didn't
> > > return anything definitive.)
> > >
> > > 	- Eero
>
> _______________________________________________
> hatari-devel mailing list
> hatari-devel at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/hatari-devel





More information about the hatari-devel mailing list