[fpc-pascal]Building Grafix under Win32

Jonas Maebe jonas at zeus.rug.ac.be
Wed May 8 21:31:37 CEST 2002


On Wed, 8 May 2002, Milos Pejovic wrote:

> This done the trick, even for the Graphix library, although it already had
> {$MODE OBJFPC}directive.

{$mode objfpc} = -S2
{$mode delphi} = -Sd

Objfpc mode is normal FPC behaviour (which should not include consuming
all memory on your system if an error is found :) with Delphi features
such as classes, exceptions, rtti etc.

> It all compiled nicely with the -Sd switch.
>
> I'm keeping it for good in my fpc.cfg :))

As long as you don't want to use any FPC features such as operator
overloading, this should work fine.


Jonas





More information about the fpc-pascal mailing list