On Mon, 20 Aug 2007, David Lyon wrote:

> Michael Van Canneyt wrote:
> > > > > - fpc/lazarus uses these library files just as it would
> > > > >   internal functions...
> > > > >     
> > > > >         
> > > > That is impossible. (or you use "internal functions" entirely the wrong
> > > > way).
> > > >   
> > > >       
> > > Why impossible ?
> > >
> > > At compile time, the compiler could decide whether the function is
> > > "internal"
> > > ie within the lazarus library files, or "external" within the users
> > > library
> > > directory.
> > >     
> >
> > This is not something the compiler should decide. It should compile code,
> > period. 
> Right. That is technically correct.
> 
> The linker, "ld" actually decides where it needs to pull in the appropriate
> library code from.

Not really, the source code tells you where it is ? 

> > All the rest should be outside the compiler, in an installer system.
> >   
> That may well be.
> 
> But what calls the linker "ld" ?

The compiler.

> > This is the kind of stuff that fppkg is meant to solve.
> >   
> Maybe that is the right place for it.

I think we're talking about different things, so never mind my remark :-)

Michael.

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to