Re: [fpc-pascal] Bootstrapping the compiler...

2019-05-18 Thread Jonas Maebe
On 18/05/2019 15:37, Kevin Lyda wrote: So there's no minimal C version of the compiler? No, since the initial version of the compiler was already written in Pascal. The compiler can be easily cross-compiled if necessary (it does not depend on any system libraries), so a (minimal or not) C ver

Re: [fpc-pascal] Bootstrapping the compiler...

2019-05-18 Thread Kevin Lyda
So there's no minimal C version of the compiler? Interesting. So to build trunk I need the new compiler installed first. I thought there might be a trick to avoid that. And by Turbo Pascal, I assume you don't mean 3.01a! Kevin On Sat, May 18, 2019 at 2:15 PM Jonas Maebe wrote: > > On 18/05/2019

Re: [fpc-pascal] Bootstrapping the compiler...

2019-05-18 Thread Jonas Maebe
On 18/05/2019 15:09, Kevin Lyda wrote: Is the current (3.0.4) fpc compiler required to build the compiler or is there a way to bootstrap a compiler? An FPC release can always be built by the previously released FPC version, and FPC trunk can always be built by the current release. While very

[fpc-pascal] Bootstrapping the compiler...

2019-05-18 Thread Kevin Lyda
Is the current (3.0.4) fpc compiler required to build the compiler or is there a way to bootstrap a compiler? Kevin -- Kevin Lyda Galway, Ireland ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/li

Re: [fpc-pascal] ContentData field size in FCGI_ContentRecor

2019-05-18 Thread Michael Van Canneyt
On Sat, 18 May 2019, Zamrony P. Juhara via fpc-pascal wrote: I do not think so, because custfpcgi.pp is using many const and types declared in fastcgi.pp. removing it will cause rewrite in many parts of custfcgi units You are right. I should not try to answer questions based on memory alon

[fpc-pascal] Regarding Win Pointer API

2019-05-18 Thread AlexeyT
https://bugs.freepascal.org/view.php?id=35578 Here I suggested to merge 3rd party unit into FPC, into Windows unit. Why to Windows? Because it's user32.dll imports. Maybe add APIs to JEDI component? I see FPC has /packages/winunits-jedi/src with many Win APIs, so maybe add unit there? Both ways i

Re: [fpc-pascal] ContentData field size in FCGI_ContentRecor

2019-05-18 Thread Zamrony P. Juhara via fpc-pascal
I do not think so, because custfpcgi.pp is using many const and types declared in fastcgi.pp. removing it will cause rewrite in many parts of custfcgi units Zamrony P. Juhara On Sat, May 18, 2019 at 17:36, Michael Van Canneyt wrote: On Sat, 18 May 2019, Zamrony P. Juhara via fpc-pascal w

Re: [fpc-pascal] ContentData field size in FCGI_ContentRecor

2019-05-18 Thread Michael Van Canneyt
On Sat, 18 May 2019, Zamrony P. Juhara via fpc-pascal wrote: custfcgi.pp and fpfcgi.pp both directly /indirectly depends on fastcgi unit. AFAIK this dependency can be removed, if it exists. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.fre

Re: [fpc-pascal] ContentData field size in FCGI_ContentRecor

2019-05-18 Thread Zamrony P. Juhara via fpc-pascal
custfcgi.pp and fpfcgi.pp both directly /indirectly depends on fastcgi unit. Zamrony P. Juhara On Sat, May 18, 2019 at 16:54, Michael Van Canneyt wrote: On Sat, 18 May 2019, Zamrony P. Juhara via fpc-pascal wrote: >> From fastcgi.pp > > https://github.com/graemeg/freepascal/blob/master/

Re: [fpc-pascal] ContentData field size in FCGI_ContentRecord of fastcgi unit

2019-05-18 Thread Michael Van Canneyt
On Sat, 18 May 2019, Zamrony P. Juhara via fpc-pascal wrote: From fastcgi.pp https://github.com/graemeg/freepascal/blob/master/packages/fastcgi/src/fastcgi.pp In line 510 FCGI_ContentRecord = record     header : FCGI_Header;     ContentData : array[0..1023] of byte; end; Field ContentData i

[fpc-pascal] ContentData field size in FCGI_ContentRecord of fastcgi unit

2019-05-18 Thread Zamrony P. Juhara via fpc-pascal
>From fastcgi.pp https://github.com/graemeg/freepascal/blob/master/packages/fastcgi/src/fastcgi.pp In line 510 FCGI_ContentRecord = record     header : FCGI_Header;     ContentData : array[0..1023] of byte; end; Field ContentData is 1024 bytes. Actual ContentData length is related to field Conte