Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: modules!??
- X-seq: zsh-workers 3211
- From: <hzoli@xxxxxxxxxxxx> (Zoltan T. Hidvegi)
- To: zsh-workers@xxxxxxxxxxxxxxx (Zsh workers list)
- Subject: Re: modules!??
- Date: Thu, 5 Jun 1997 14:24:55 -0400 (EDT)
- In-reply-to: <10020.199706051733@xxxxxxxxxxxxxxxxxxxxxxx> from Zefram at "Jun 5, 97 06:33:10 pm"
Zefram wrote:
> >Deltochar have a similar problem, it wants to use the zmod symbol exported
> >by the zle module. The symbols defined by a module can be discovered using
> >dlsym even on these systems, so we may find some way to overcome this
> >limitation. I think it is possible to do that with some script-generated C
>
> How? Would this be a case of #defining all imported symbols to
> (*symbol_table[SYMBOL_NUM]) and having the module base manage home-made
> symbol tables? If so, what do we do about systems where there are
> several sizes of pointer?
Yes, I was thingking something like that. I do not understand what you
mean about several sizes of pointer. Could you give some more detail?
>
> > The imported function list is hard to portably generate
> >automatically,
>
> What's wrong with `nm obj.o | grep " U "` and comparing against the
> lists of exported symbols? This could even be used to generate module
> dependencies automatically.
The nm output format varies from system to system, so it's probably hard to
make it portable. And one should not have to have nm to compile zsh. But
if we can automatize everything on Linux I'd be happy.
Zoltan
Messages sorted by:
Reverse Date,
Date,
Thread,
Author