From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26686 invoked by alias); 14 Sep 2016 16:19:27 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 39323 Received: (qmail 10506 invoked from network); 14 Sep 2016 16:19:27 -0000 X-Qmail-Scanner-Diagnostics: from mail-pa0-f49.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.220.49):SA:0(0.0/5.0):. Processed in 0.138225 secs); 14 Sep 2016 16:19:27 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at brasslantern.com does not designate permitted sender hosts) 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== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version; bh=vTCTtyntz/Oo5NtmqDxd25raih64TNs+/f6jJRogTXc=; b=lhRCLPU5rLd/VdBHxsWOHc5t7/qEYYRkCgSArCzLavRngLfmIVRhqgrBk43ULrQIcY Z/0G1wEiVt2pg9AmaOzOQvX0RZ5VeiWFpQretTLJmuEuHfo5nN9PzXTjAs28DYq/4DnG c1tTRu8/hQxCviR2QtVzMFWsjB84Tswa0IV/sXpRvD920Nq/FNR0FC7u0rpaGgOxexNh CzEay91jChs7eY3ob/U5yztiwGtTi6n8Fu479Y4wAgLFA1HAtefoBr3XIEDqKRh6rDth ZTR25CLKvAr2UvEzXlIDYnim0kEwUeGvefuHlLVksZVhjHAchM6lakOBnNx1Oo9PSGZ6 0oqg== X-Gm-Message-State: AE9vXwOYQfeqjB5vwc6pZzZgFtDC7QX9pQYIB8O+VjEyrNEhHVpGSRjDpOdW3S5VZwL5mQ== X-Received: by 10.66.10.170 with SMTP id j10mr6002209pab.3.1473869960876; Wed, 14 Sep 2016 09:19:20 -0700 (PDT) From: Bart Schaefer Message-Id: <160914091932.ZM29637@torch.brasslantern.com> Date: Wed, 14 Sep 2016 09:19:32 -0700 In-Reply-To: <45670.1473843287@hydra.kiddle.eu> Comments: In reply to Oliver Kiddle "Re: Adding (compiling) a module to already build Zsh" (Sep 14, 10:54am) References: <160912103839.ZM25202@torch.brasslantern.com> <45670.1473843287@hydra.kiddle.eu> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Zsh hackers list Subject: Re: Adding (compiling) a module to already build Zsh MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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.