Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Adding (compiling) a module to already build Zsh
- X-seq: zsh-workers 39323
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Adding (compiling) a module to already build Zsh
- Date: Wed, 14 Sep 2016 09:19:32 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=vTCTtyntz/Oo5NtmqDxd25raih64TNs+/f6jJRogTXc=; b=c5CSIyq3VRdDH+y7PxLV+1riIl+lh17Fqdd+5F7AqHjDrre1GxwgeDMecbZTx9A031 p3Mx9+AXP4e6DsS+qZbuoleOFThs/MlFmVoyWwX7n3FkjfPKCMYE+GzE1Fn1ZZbLNxmz YduMNovvFKFr530GAcx4dPUrqkgLjKXzfaA4j3VIzwL0z8OMZMAuRkN12KHB9ta/LWBt Cf8wwBOWWKVr6Uzksqtj9MwJZ2AlmZFr3wLZ96leq3ukVX7y72I9Ih8EHGvYVislzPVW T1/nXFO17QFczUKGlL+XSF5JwAdTX3oBhSL1L+no/lQylnH1qr0FUB6skLmQRrMZD4s1 TBeA==
- In-reply-to: <45670.1473843287@hydra.kiddle.eu>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVB+A2Pzjz5GF8MLT2j=fz+0JSLK9k2vkx2bt6ENRzirMw@mail.gmail.com> <160912103839.ZM25202@torch.brasslantern.com> <CAKc7PVCy4R=Frg1FH_iBaT-BiWiO13p27VDyPX_x9AkT9rCX0w@mail.gmail.com> <45670.1473843287@hydra.kiddle.eu>
On Sep 14, 10:54am, Oliver Kiddle wrote:
}
} Many of the prototypes are autogenerated with makepro.awk and that
} mechanism ties in to aspects of the module mechanism. So, for example, an
} obvious function to include in the module interface might be addhookdefs
} but the prototype is in module.epro. This may not be a problem as such
} but it'd need someone who understands what's going on in that area.
This. It's difficult enough right now to add a module directly to the
full zsh tree, much less tease apart all the bits that would need to
be teased in order to build with only a few pre-existing headers.
Packages like libapreq (mod_perl) and the old X11 had similar problems
back in the day. (I haven't built loadable modules against any of
their successors in many years, so I don't know the current state.)
The decisions we made with .epro files and awk scripts were all good
ones at the time. If we could find an expert on the current state of
dynamic loading on a variety of platforms, it would be very helpful.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author