Op Wed, 26 Dec 2007, schreef Luiz Americo Pereira Camara:
Florian Klaempfl wrote:
Luiz Americo Pereira Camara schrieb:
It would not be possible to ship the compiler and rtl as is today and
let the user/programmer decide if his project will use packages?
Or necessarily, if the change is done, the only option will be use
packages instead of unit files in all projects, including fpc?
If there will be a option i'm in favor of shipping fpc as is today and
let the programmer decide if will use or not.
This is possible, but it simply doubles the size of the installer.
Maybe you did not understand.
My idea is *not* give the option to the programmer use the fpc rtl as
package. It would be forbid to use the fpc rtl as package.
The feature would be available only for programmer own projects.
Did i miss something, technically? Is necessary to compile with rtl packages
to distribute custom packages?
Yes. Well, unless you want the RTL statically linked into each package,
which will not work in a compatible way due the one heap/multiple heaps
issues.
There is a solution though: Distribute the rtl in source code form and
compile it on installation. This could also be an advantage for setting up
cross compilation environments. But don't get excited yet: We may or may
not move to such a system in the future.
Daniël
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel