[fpc-devel] Support for FreeBSD PowerPC

2020-11-02 Thread Curtis Hamilton via fpc-devel
Free Pascal (FPC) currently does not support FreeBSD running on PowerPC. I need some help in getting FPC on FreeBSD/powerpc64. I’ve done preliminary work to get the cross compiler working. However, I’m not well versed in assembly programming and need help in creating the proper startup code

Re: [fpc-devel] Support for FreeBSD PowerPC

2020-10-22 Thread Curtis Hamilton via fpc-devel
Attached it the crt1.s created using gcc -S that was used in the prt0.as in my earlier email. -regards On 10/21/20 10:51 AM, Curtis Hamilton wrote: Attached is the prt0.as I created using the one used for linux/powerpc64.  I've also attached the dump of crt1.s from the

Re: [fpc-devel] Support for FreeBSD PowerPC

2020-10-21 Thread Curtis Hamilton via fpc-devel
Attached is the prt0.as I created using the one used for linux/powerpc64. I've also attached the dump of crt1.s from the target. Thanks! On Wed, Oct 21, 2020 at 10:04 AM Jonas Maebe via fpc-devel < fpc-devel@lists.freepascal.org> wrote: > On 20/10/2020 02:32, Curtis Hamilton via fpc-devel

Re: [fpc-devel] Support for FreeBSD PowerPC

2020-10-21 Thread Jonas Maebe via fpc-devel
On 20/10/2020 02:32, Curtis Hamilton via fpc-devel wrote: > I think I maybe in over my head on this. I've taken a look and now I'm not > sure what the issue is. The > segfault occurs in the FPC RTL initiazation code (see backtrace below). > > Any ideas? What does the prt0.as file that you

Re: [fpc-devel] Support for FreeBSD PowerPC

2020-10-19 Thread Curtis Hamilton via fpc-devel
Op 2020-10-18 om 23:03 schreef Jonas Maebe via fpc-devel: //>>>/I’ve been able to create a cross compiler using the guidance and some />>>/additional information.  But I’ve been unable to create the proper FPC />>>/startup code (prt0.as) needed. />>>//>>>/Any help would be appreciated. />>/I

Re: [fpc-devel] Support for FreeBSD PowerPC

2020-10-18 Thread Marco van de Voort via fpc-devel
Op 2020-10-18 om 23:03 schreef Jonas Maebe via fpc-devel: I’ve been able to create a cross compiler using the guidance and some additional information.  But I’ve been unable to create the proper FPC startup code (prt0.as) needed. Any help would be appreciated. I believe these files are

Re: [fpc-devel] Support for FreeBSD PowerPC

2020-10-18 Thread Jonas Maebe via fpc-devel
On 14/10/2020 17:45, Curtis Hamilton via fpc-devel wrote: > I’ve been able to create a cross compiler using the guidance and some > additional information.  But I’ve been unable to create the proper FPC > startup code (prt0.as) needed. > > Any help would be appreciated. I believe these files

[fpc-devel] Support for FreeBSD PowerPC

2020-10-15 Thread Curtis Hamilton via fpc-devel
Hello, I’d like to know if there is any interest in providing FPC for FreeBSD/PowerPC, specifically 64-bit. In case there is no interest, I’m looking for some assistance. First, I’m not an experienced programmer, but I’ve attempted to port FPC, using the guidance at