Re: [fpc-pascal] Best start point for adding new FPC target

2020-01-28 Thread Karoly Balogh (Charlie/SGR)
Hi, On Tue, 28 Jan 2020, Florian Kl?mpfl wrote: > > The primary goal of a startup code is to get pointers to the command > > line parameters and the environment block. If arm-freebsd uses the stack > > to pass these pointers (the same way as i386-freebsd), then you need > > just to convert the i3

Re: [fpc-pascal] Best start point for adding new FPC target

2020-01-28 Thread Karoly Balogh (Charlie/SGR)
Hi, On Tue, 28 Jan 2020, Fabio Luis Girardi via fpc-pascal wrote: > I was thinking of starting with armhf-netbsd, that can I suppose to be > the closest to the armhf-freebsd target. I'm right? Someone experienced > adding new targets for FPC has another suggestion? Well, you don't need to clone

Re: [fpc-pascal] Best start point for adding new FPC target

2020-01-28 Thread Florian Klämpfl
Am 28.01.20 um 20:40 schrieb Yuriy Sydorov: On 28.01.2020 21:14, Fabio Luis Girardi via fpc-pascal wrote: Em ter., 28 de jan. de 2020 às 16:04, Yuriy Sydorov > escreveu:     You need to add support of a new CPU to the existing freebsd target. The target would be arm-fre

Re: [fpc-pascal] Best start point for adding new FPC target

2020-01-28 Thread Marco van de Voort
Op 28/01/2020 om 18:08 schreef Fabio Luis Girardi via fpc-pascal: Hi all! I'm studying how to add a new target for the Freepascal compiler. The target is the missing armhf-FreeBSD. So I have looked at FPC guide (https://wiki.freepascal.org/Porting_Free_Pascal#Adding_a_new_target) and looking

Re: [fpc-pascal] Best start point for adding new FPC target

2020-01-28 Thread Fabio Luis Girardi via fpc-pascal
Thanks for the hints! Em ter., 28 de jan. de 2020 às 16:41, Yuriy Sydorov escreveu: > On 28.01.2020 21:14, Fabio Luis Girardi via fpc-pascal wrote: > > Em ter., 28 de jan. de 2020 às 16:04, Yuriy Sydorov > escreveu: > > > > You need to add support of a new CPU to the

Re: [fpc-pascal] Best start point for adding new FPC target

2020-01-28 Thread Yuriy Sydorov
On 28.01.2020 21:14, Fabio Luis Girardi via fpc-pascal wrote: Em ter., 28 de jan. de 2020 às 16:04, Yuriy Sydorov mailto:j...@cp-lab.com>> escreveu: You need to add support of a new CPU to the existing freebsd target. The target would be arm-freebsd, since armhf is not treated as a

Re: [fpc-pascal] Best start point for adding new FPC target

2020-01-28 Thread Yuriy Sydorov
On 28.01.2020 19:08, Fabio Luis Girardi via fpc-pascal wrote: I'm studying how to add a new target for the Freepascal compiler. The target is the missing armhf-FreeBSD. So I have looked at FPC guide (https://wiki.freepascal.org/Porting_Free_Pascal#Adding_a_new_target) and looking at Overview sec

Re: [fpc-pascal] Best start point for adding new FPC target

2020-01-28 Thread Fabio Luis Girardi via fpc-pascal
Em ter., 28 de jan. de 2020 às 16:04, Yuriy Sydorov escreveu: > You need to add support of a new CPU to the existing freebsd target. The > target would be arm-freebsd, since armhf is not > treated as a separate CPU by FPC. You need to create arm startup files in > the rtl/freebsd/arm folder. > Y

[fpc-pascal] Best start point for adding new FPC target

2020-01-28 Thread Fabio Luis Girardi via fpc-pascal
Hi all! I'm studying how to add a new target for the Freepascal compiler. The target is the missing armhf-FreeBSD. So I have looked at FPC guide ( https://wiki.freepascal.org/Porting_Free_Pascal#Adding_a_new_target) and looking at Overview section, item 2 says: "Take the closest existing RTL as a

Re: [fpc-pascal] Parameter Checking in fpjsonrpc

2020-01-28 Thread Michael Van Canneyt
On Tue, 28 Jan 2020, Simon Ameis wrote: It is mising, but not forgotten; I have it on my todo list still, together with some other items for JSON-RPC If you feel like implementing some rudimentary checks, please feel free. Let me see, what I can do next week. At least some checks if a param

Re: [fpc-pascal] Parameter Checking in fpjsonrpc

2020-01-28 Thread Simon Ameis
> It is mising, but not forgotten; I have it on my todo list still, > together > with some other items for JSON-RPC > If you feel like implementing some rudimentary checks, please feel free. Let me see, what I can do next week. At least some checks if a parameter object has the required parameter