Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2010-10

micro-exe mode?

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Leonardo M. Ramé
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?

Leonardo M. Ramé
http://leonardorame.blogspot.com

Reply by email

Sven Barth
to Leonardo M. Ramé
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

Reply by email