Re: Porting SAPDB to ppc64 Linux
Daniel Dittmar <[email protected]> Sun, 08 Dec 2002 19:55:06 +0100
| Newsgroups | gmane.comp.db.sapdb.sources |
|---|---|
| Organization | SAP AG |
| Message-ID | <[email protected]> |
Anton Blanchard wrote: > Hi, > > I am interested in porting to ppc64/Linux. Since it already runs on > Linux and ppc64/AIX it shouldnt be too hard. > > I had a quick look and for AIX we have: > > host_cpu = _IBMR2 > host_os = AIX > > and for Linux we have: > > host_cpu = _IBMR2 > host_os = LINUX > > Id prefer POWERPC to _IBMR2 but thats not too important :) > Unfortunately the source uses _IBMR2 when it should be using AIX: > > #if defined(_IBMR2) || defined(SUN) || defined(HPUX) > extern int sys_nerr; > extern char * sys_errlist[]; > #endif /* _IBMR2 || SUN || HPUX */ > > This has nothing to do with the host_cpu and everything to do with the This is simply a bug and I'm afraid that there are more of those for other platforms > host_os. Thoughts on changing all these ifdefs to use AIX not _IBMR2? Sure. If we find the time. Or someone sends us patches (please for CVS: sapdb-74). Or someone converts these to configure tests. Daniel Dittmar -- Daniel Dittmar SAP DB, SAP Labs Berlin [email protected] http://www.sapdb.org