[fpc-devel] micro-exe mode?

Sven Barth pascaldragon at googlemail.com
Sat Oct 16 12:45:58 CEST 2010


On 15.10.2010 22:55, Leonardo M. Ramé wrote:
>> From time to time I do an "svn log -v --limit 5" to see what's up in the trunk fpc version. A couple of minutes ago, I noted that Daniel commited the version r16170 with the comment "Revert micro-exe mode for now", what does it mean? it is related to executable sizes?

It seems to have been added by Daniel in 16124 with the following comment:

====
If no unit is used, no symbol inside the system unit is used,
and no language features requiring initialization are used,
do not initialize units, but just configure the fpu and
signal handlers.
====

So it seems that you could have written extremely small programs (Linux 
only as it appears) if you restricted yourself very much.

Perhaps Daniel can tell more about this.

Regards,
Sven



More information about the fpc-devel mailing list