[fpc-devel] Bug: compilation loop in 2.0.2 when using -So

Daniël Mantione daniel.mantione at freepascal.org
Thu Aug 17 22:16:35 CEST 2006



Op Thu, 17 Aug 2006, schreef Konstantin M=FCnning:

> Jonas Maebe wrote:
> =

> I'm just testing 2.0.4-rc3 and yes, it's fixed there :-).
> =

> There are some other inconsistencies to previous versions of FPC and
> Borland Pascal like assembler syntax and pointer addition
> (inc(Pointer,LongInt) does not work anymore).
> =

> If someone is interested I can post details. It seems possible to work
> around them.
> =

> Last thing - size. Program tested results with 1.0.10 in 354KB and with
> 2.0.4-rc3 in 515KB. Both with default optimization options and no debug
> info. Tried -Og but result was almost the same. Is this the final state
> or are improvements to be expected?

Sounds like you didn't use smart linking. Of course the total amount of =

code in the RTL will only grow, so if you want small executables, always =

use smartlinking to remove the code that you don't use. (Programs will be =

a bit larger in 2.0, but not that much.)

Dani=EBl


More information about the fpc-devel mailing list