Porting SAPDB to ppc64 Linux
Anton Blanchard <[email protected]> Sat, 7 Dec 2002 15:07:00 +1100
| Newsgroups | gmane.comp.db.sapdb.sources |
|---|---|
| Message-ID | <20021207040700.GD2892@krispykreme> |
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 host_os. Thoughts on changing all these ifdefs to use AIX not _IBMR2? Anton