From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 4011 invoked from network); 14 Apr 1999 08:34:35 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 14 Apr 1999 08:34:34 -0000 Received: from piglet.twiddle.net (rth@piglet.twiddle.net [207.104.6.26]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id EAA27307 for ; Wed, 14 Apr 1999 04:11:48 -0400 Received: (from rth@localhost) by piglet.twiddle.net (8.8.7/8.8.7) id BAA13942 for axp-list@redhat.com; Wed, 14 Apr 1999 01:11:48 -0700 Message-ID: <19990414011147.B13693@twiddle.net> Date: Wed, 14 Apr 1999 01:11:47 -0700 From: Richard Henderson To: axp-list@redhat.com Subject: Re: Mozilla & the Alpha References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2 In-Reply-To: ; from Dan Morrill on Tue, Apr 13, 1999 at 10:51:39PM -0400 On Tue, Apr 13, 1999 at 10:51:39PM -0400, Dan Morrill wrote: > What the asm has to do is set up an arbitrary, runtime calling environment > (i.e. do what the compiler normally does at runtime, except that it must > be done at runtime in this case to allow arbitrary XPConnect objects to > call other objects that may not be in the same language.) For pointers on how to do such a thing, see ftp://ftp.cygnus.com/pub/home/green/libffi-1.20.tar.gz Anthony's foreign function interface library does exactly what they want. Except that it's GPL, which is incompatible with the NPL, so they can't use it. But you may well be able to take the ideas intact. r~