On Sun, Aug 19, 2007 at 10:08:57AM +1000, David Lyon wrote:
>>>
>>> When the ToDos are solved the IDE can be extended.
>>>
>>
>> I added a few links to FPC wiki sites there.
> Well, I have had a think about this library issue a bit further.
>
> What I think we should devise or adapt is something a bit similar to the
> python/perl library model.
What exactly is that model? Triple the average linux packaging system size
by sticking every unit into a separate installable package and provide of a
web of dependancies that pulls half of them in in an average install?
It does buy exposure though :-)
> This is what imho we should provide. The ideas are not so new I know:
> - use/extend the existing fpc tools to load the package. They get
> installed into a predefined directory like the /perl/site/lib directory
> in perl.
Define "load". Also keep in mind that Perl installs interpreter sourcecode,
what exactly do you imagine for FPC? compiled libs, source? How do you deal
with versioning?
> - the compilable source files get compiled at package load time
> and "integrated" into the system for use in the "uses" clause.
I don't think it is wise to bother the compiler with the packaging system.
Keep in mind we are not a scripting system, but a compiler. The whole idea
is that the end-users of a binary don't need the whole shebang.
> - fpc/lazarus uses these library files just as it would
> internal functions...
That is impossible. (or you use "internal functions" entirely the wrong
way).
> Summary...
>
> Maybe we already have some of the parts of this already. It would be good
> to have something that works as simply as this. Yes, I might be able to
> help with making it work if people want to go this way.
This is what fppkg and friends are achieving. However it has not much to do
with dynlinking. There are tough technicaly nuts to be crached there first.
Read the wiki articles.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives