Re: another problem

Date view Thread view Subject view Author view

From: Alexandre Oliva (oliva@dcc.unicamp.br)
Date: Wed Jan 20 1999 - 01:55:55 EST


On Jan 20, 1999, Godmar Back <gback@cs.utah.edu> wrote:

> Does the final link line for kaffe look like

Like this:

> C.
> ar -r libkaffevm.a syscall.o jthread.o internal.o
> ld ... -lkaffevm

> I would choose C if
> + kthreads is logically part of kaffevm

Isn't it?

> I would never choose B because kaffevm simply is not a library needed
> for the files in libkthreads.a. Your paragraph above, however, seems to
> imply it's B. Is that correct?

Nope, because libkaffevm is linked with libkthreads. It is at this
point that libkthreads expands to the list of object files, and
therefore libkaffevm gets all the object files from libkaffevm.

> libtool may think it can help me, but I need to know exactly what it is
> it's doing and how do I get it to produce link lines that correspond to
> the abstractions and interfaces that fit my will and my implementation.

I think the libtool manual is still missing a section about
convenience libraries. Gordon Metzigkeit had just implemented it when
he left the maintenership of libtool, and I'm not sure he ever got to
document it properly. One more task for my to-do list for libtool 1.3
:-(

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:47 EDT