From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27450 invoked by alias); 3 Dec 2012 05:58:25 -0000 Received: (qmail 27441 invoked by uid 22791); 3 Dec 2012 05:58:24 -0000 X-SWARE-Spam-Status: No, hits=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_BF X-Spam-Check-By: sourceware.org Received: from mail-wi0-f173.google.com (HELO mail-wi0-f173.google.com) (209.85.212.173) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 03 Dec 2012 05:58:15 +0000 Received: by mail-wi0-f173.google.com with SMTP id hn17so800282wib.12 for ; Sun, 02 Dec 2012 21:58:14 -0800 (PST) Received: by 10.180.83.97 with SMTP id p1mr7537958wiy.2.1354514294575; Sun, 02 Dec 2012 21:58:14 -0800 (PST) Received: from krypton.localnet (78-22-117-212.access.telenet.be. [78.22.117.212]) by mx.google.com with ESMTPS id p2sm10958061wic.7.2012.12.02.21.58.12 (version=SSLv3 cipher=OTHER); Sun, 02 Dec 2012 21:58:13 -0800 (PST) From: Jens Staal To: libffi-discuss@sourceware.org Subject: libffi on i386 Plan9/APE Date: Mon, 03 Dec 2012 05:58:00 -0000 Message-ID: <1431145.hgiI9FWO1y@krypton> User-Agent: KMail/4.9.3 (Linux/3.6.8-1-ARCH; KDE/4.9.3; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Mailing-List: contact libffi-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libffi-discuss-owner@sourceware.org X-SW-Source: 2012/txt/msg00280.txt.bz2 Hi I managed to sort-of build libffi on Plan9 under the ANSI-POSIX ENVIRONMENT. On this OS only a static library can be built. The configure choked on a couple of things assuming GNU coreutils-behavior (the command "cut" does not exist, and I needed to sed away a couple of options from ls and mv), so I ended up manually adjusting files that failed to be configured (so there is lots of room for improvements on my port). Two files under x86 (unix.S and sysv.S) are GAS ASM, which is different from Plan9 ASM so they could not be compiled into objects. Are there C variants of those files available? Are those two object files essential for libffi function? What are the relevant tests to do of libffi.a ?