From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11664 invoked by alias); 13 Sep 2003 12:43:24 -0000 Mailing-List: contact guile-gtk-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: guile-gtk-owner@sources.redhat.com Received: (qmail 11657 invoked from network); 13 Sep 2003 12:43:23 -0000 Received: from unknown (HELO mail.dokom.net) (195.253.8.218) by sources.redhat.com with SMTP; 13 Sep 2003 12:43:23 -0000 Received: from dialin.speedway43.dip65.dokom.de ([195.138.43.65] helo=zagadka.ping.de) by mail.dokom.net with smtp (Exim 3.36 #3) id 19y9lz-0000YK-00 for guile-gtk@sources.redhat.com; Sat, 13 Sep 2003 14:45:07 +0200 Received: (qmail 14490 invoked by uid 1000); 13 Sep 2003 12:43:21 -0000 To: guile-gtk@sources.redhat.com Subject: Re: Compiling guile-gobject experiences References: <87ptjornbn.fsf@alice.rotty.yi.org> <20030804162116.GA1217@lark> <871xulk3v7.fsf@zip.com.au> From: Marius Vollmer Date: Sat, 13 Sep 2003 12:43:00 -0000 In-Reply-To: <871xulk3v7.fsf@zip.com.au> (Kevin Ryde's message of "Sat, 13 Sep 2003 09:02:04 +1000") Message-ID: <87pti4n9jq.fsf@zagadka.ping.de> User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-q3/txt/msg00079.txt.bz2 Kevin Ryde writes: > I don't think there's any way to portably make a C call from runtime > arguments, in general, but it wouldn't be hard to setup the right > thing for each CPU+ABI, with a bit of assembler. Or maybe gcc could > help. There are already libraries out there for this. I think "libffi" and "libffcall" would be the search terms. -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405