[fpc-pascal] Pure FPC ?

Tomas Hajny XHajT03 at hajny.biz
Mon Jan 27 08:53:25 CET 2014


On Mon, January 27, 2014 01:38, Fred van Stappen wrote:
> Ok, i will try to explain better.
>
> When you compile fpc, you do > make clean + make all.
>
> Is it possible to configure fpc-compil  and disable Delphi
> compatibility...?
>
> If not possible, no problem, i only want to know :-) .

Short and simple answer - no, it isn't possible.

Slightly longer answer - even if disregarding mode "DELPHI", there are
several other modes supported by FPC. More than one mode is used within
the FPC source tree (at least FPC, OBJFPC and MACPAS). The modes do not
differ only by syntax but also by the supported features, but different
modes use a combination of features often also used in other modes. All in
all, even if someone wanted to perform the surgery and remove all
references to mode DELPHI, the potential gains with regard to compilation
speed would be probably very limited.

Finally - trying to remove a feature allowing users to reuse source code
coming from others doesn't sound very smart even if somebody doesn't use
such external source code today.

Tomas





More information about the fpc-pascal mailing list