Re: [fpc-devel] defines by the compiler... / linux, LIBC, SysCall

2024-01-11 Thread Martin Frb via fpc-devel
On 11/01/2024 17:30, Marco van de Voort via fpc-devel wrote: Let me state it more clearly: The point is that given a precompiled Linux RTL, to my best knowledge  you can't test any define outside the FPC build environment to see if the RTL was compiled with FPC_USE_LIBC or not. Maybe there is

Re: [fpc-devel] defines by the compiler... / linux, LIBC, SysCall

2024-01-11 Thread Marco van de Voort via fpc-devel
Op 11-1-2024 om 16:56 schreef Martin Frb via fpc-devel: On 11/01/2024 16:34, Marco van de Voort via fpc-devel wrote: Op 11-1-2024 om 15:48 schreef Martin Frb via fpc-devel: - Can (on any linux/unix)  "uses SysCall" be compiled  (without error) You can test that yourself on a Linux system by

Re: [fpc-devel] defines by the compiler... / linux, LIBC, SysCall

2024-01-11 Thread Martin Frb via fpc-devel
On 11/01/2024 16:34, Marco van de Voort via fpc-devel wrote: Op 11-1-2024 om 15:48 schreef Martin Frb via fpc-devel: - Can (on any linux/unix)  "uses SysCall" be compiled  (without error) You can test that yourself on a Linux system by compiling a cycle with -dFPC_USE_LIBC and then compiling

Re: [fpc-devel] defines by the compiler... / linux, LIBC, SysCall

2024-01-11 Thread Marco van de Voort via fpc-devel
Op 11-1-2024 om 15:48 schreef Martin Frb via fpc-devel: But neither LIBC nor HASUNIX are listed on that page. I think LIBC as a define is a remnant of a 1.0.x era port and has no meaning in 2.0. This is meanwhile all 20 years ago, so my memory might be a bit hazy (christmas 2003 and the h

[fpc-devel] defines by the compiler... / linux, LIBC, SysCall

2024-01-11 Thread Martin Frb via fpc-devel
Is this page up to date? https://www.freepascal.org/docs-html/prog/progap7.html Maybe I am wrong, but looking at the tsysteminfo does the value in extradefines specify values that will be defined during compilation (such as those given on that page)? If the do then "sunos" has     ext