Re: [fpc-devel] How hard is it to port FPC to AIX

2008-09-14 Thread Peter Popov
Thanks for the detailed answer. I think the picture now is clear enough to start working Peter On Sat, 13 Sep 2008 17:41:39 -0500, Jonas Maebe <[EMAIL PROTECTED]> wrote: On 13 Sep 2008, at 21:49, Peter Popov wrote: I read Felipe's wiki thouroughly and i think I can manage that part. I

Re: [fpc-devel] How hard is it to port FPC to AIX

2008-09-13 Thread Jonas Maebe
On 13 Sep 2008, at 21:49, Peter Popov wrote: I read Felipe's wiki thouroughly and i think I can manage that part. I also see I have to use the Darwin (powerpc) rtl, not the linux (powerpc) rtl. I will start experimenting with it on monday. You can choose either the Darwin or the Solaris rt

Re: [fpc-devel] How hard is it to port FPC to AIX

2008-09-13 Thread Peter Popov
Thanks Jonas. I read Felipe's wiki thouroughly and i think I can manage that part. I also see I have to use the Darwin (powerpc) rtl, not the linux (powerpc) rtl. I will start experimenting with it on monday. I have one question though, which is not clear to me, as I am not a low-level sys

Re: [fpc-devel] How hard is it to port FPC to AIX

2008-09-13 Thread Jonas Maebe
On 11 Sep 2008, at 20:36, Peter Popov wrote: Peter It should not be that hard. There are two main ABI's for PowerPC: the sysv and the aix ABI. Linux/*BSD use the sysv ABI, and Mac OS, Mac OS X and AIX uses the aix ABI. Hence, the aix abi is already supported in the compiler. A libc-based

Re: [fpc-devel] How hard is it to port FPC to AIX

2008-09-11 Thread Felipe Monteiro de Carvalho
I started a document here: http://wiki.lazarus.freepascal.org/Porting_Free_Pascal It's very incomplete, so fell free to extend as you discover how things work. -- Felipe Monteiro de Carvalho ___ fpc-devel maillist - fpc-devel@lists.freepascal.org ht

Re: [fpc-devel] How hard is it to port FPC to AIX

2008-09-11 Thread Peter Popov
Could you give me some pointers how to begin? Peter It should not be that hard. There are two main ABI's for PowerPC: the sysv and the aix ABI. Linux/*BSD use the sysv ABI, and Mac OS, Mac OS X and AIX uses the aix ABI. Hence, the aix abi is already supported in the compiler. A libc-based

[fpc-devel] How hard is it to port FPC to AIX

2008-09-11 Thread Peter Popov
Hi everyone I recently got access to an IBM supercomputer (hundreds of PowerPC) running AIX. Naturally, the powerpc linux version of the compiler does not work. To begin with, AIX uses XCOFF binaries. So my question is: How hard is it to port the powerpc version of fpc to AIX or at least gen