From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17572 invoked by alias); 1 Aug 2003 00:41:14 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 17238 invoked from network); 1 Aug 2003 00:41:07 -0000 Received: from unknown (HELO gash2.peakpeak.com) (207.174.178.17) by sources.redhat.com with SMTP; 1 Aug 2003 00:41:07 -0000 Received: from fleche.redhat.com (tf0005.peakpeak.com [204.144.239.5]) by gash2.peakpeak.com (8.9.3/8.9.3.1) with ESMTP id SAA30813; Thu, 31 Jul 2003 18:40:55 -0600 Received: by fleche.redhat.com (Postfix, from userid 1000) id 1A4494F86ED; Thu, 31 Jul 2003 18:34:04 -0600 (MDT) To: "Mike Thomas" Cc: , , , , Subject: Re: [Gcl-devel] Re: portable cdecl 'elliptic' function calls References: <54vftj1xzl.fsf@intech19.enhanced.com> From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom X-Zippy: Ask me the DIFFERENCE between PHIL SILVERS and ALEXANDER HAIG!! Date: Fri, 01 Aug 2003 01:22:00 -0000 In-Reply-To: Message-ID: <87zniu2p38.fsf@fleche.redhat.com> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-08/txt/msg00002.txt.bz2 >>>>> "Mike" == Mike Thomas writes: Mike> The gcc source seems to imply it works on Windows but some docs Mike> I've read on the web don't list Windows as a target platform for Mike> libffi. (Never built gcc so can't say which.) libffi works fine on Windows. You can easily find out where it works by looking in gcc/libffi/configure.in. There is a big case statement that sets up the build for all the working platforms. Things are a little different if you use the closure API. Then you have to look in gcc/libffi/include/ffi.h.in to see what platforms define FFI_CLOSURES. The "normal" API works on more platforms than the closure API. I think libffi works on all the Debian architectures except HPPA. Nobody has ever done that port. Tom From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30181 invoked by alias); 1 Aug 2003 00:52:55 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 30156 invoked from network); 1 Aug 2003 00:52:52 -0000 Received: from unknown (HELO epita.fr) (163.5.255.10) by sources.redhat.com with SMTP; 1 Aug 2003 00:52:52 -0000 Received: from kualalumpur.lrde.epita.fr (mail@kualalumpur.lrde.epita.fr [10.223.13.1]) by epita.fr id h710qnA09754 for EPITA Paris France Fri, 1 Aug 2003 02:52:49 +0200 (CEST) Received: from babylon.lrde.epita.fr ([10.223.13.55] ident=mail) by kualalumpur.lrde.epita.fr with esmtp (Exim 3.35 #1 (Debian)) id 19iOAI-0003Hm-00 for ; Fri, 01 Aug 2003 02:53:02 +0200 Received: from news by babylon.lrde.epita.fr with local (Exim 3.36 #1 (Debian)) id 19iO01-0002s7-00 for ; Fri, 01 Aug 2003 02:42:25 +0200 From: tromey@redhat.com (Tom Tromey) X-Newsgroups: lrde.list.gcc Subject: Re: [Gcl-devel] Re: portable cdecl 'elliptic' function calls Date: Fri, 01 Aug 2003 02:29:00 -0000 Organization: EPITA / LRDE http://www.lrde.epita.fr Distribution: lrde Message-ID: <87zniu2p38.fsf@fleche.redhat.com> References: <54vftj1xzl.fsf@intech19.enhanced.com> Reply-To: tromey@redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@lrde.epita.fr X-Attribution: Tom X-Zippy: Ask me the DIFFERENCE between PHIL SILVERS and ALEXANDER HAIG!! To: gcc@gcc.gnu.org X-SW-Source: 2003-08/txt/msg00003.txt.bz2 Message-ID: <20030801022900.JutjdHohZsTkh0pNHUTTshJ7GUwg51pI3Hgiy1xAFg0@z> >>>>> "Mike" == Mike Thomas writes: Mike> The gcc source seems to imply it works on Windows but some docs Mike> I've read on the web don't list Windows as a target platform for Mike> libffi. (Never built gcc so can't say which.) libffi works fine on Windows. You can easily find out where it works by looking in gcc/libffi/configure.in. There is a big case statement that sets up the build for all the working platforms. Things are a little different if you use the closure API. Then you have to look in gcc/libffi/include/ffi.h.in to see what platforms define FFI_CLOSURES. The "normal" API works on more platforms than the closure API. I think libffi works on all the Debian architectures except HPPA. Nobody has ever done that port. Tom