[fpc-pascal] Statically linked-in fpc code

Adriaan van Os fpc at microbizz.nl
Fri Feb 5 10:50:34 CET 2021


Adriaan van Os via fpc-pascal wrote:
> Jonas Maebe via fpc-pascal wrote:
>> On 2021-02-05 09:24, Adriaan van Os via fpc-pascal wrote:
>>> It's crazy !
>>> <https://bugs.freepascal.org/view.php?id=38440>
>>
>> The default fpc.cfg file contains this (both in 3.0.4 and 3.2.0):
>>
> 
> Thanks for tne reply.
> 
>> # For a debug version compile with debuginfo and all codegeneration 
>> checks on
>> #IFDEF DEBUG
>>   -gl
>>   -Crtoi
>>   #WRITE Compiling Debug Version
>> #ENDIF
> 
> I find such sneaky configuration files an extremely bad idea !

Also

1. Section 1.3.31 of the Programmer's manual says "By default, no stack checking is performed."

2. If it is broken with gpc-3.2.0, such the more reason to put it off. It doesn't do real 
stack-checking anyway.

Regards,

Adriaan van Os



More information about the fpc-pascal mailing list