From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27058 invoked by alias); 19 Mar 2014 16:32:40 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 27046 invoked by uid 89); 19 Mar 2014 16:32:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: limerock04.mail.cornell.edu Received: from limerock04.mail.cornell.edu (HELO limerock04.mail.cornell.edu) (128.84.12.60) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 19 Mar 2014 16:32:38 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu [10.16.197.8]) by limerock04.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id s2JGWaSo031238 for ; Wed, 19 Mar 2014 12:32:36 -0400 Received: from [192.168.1.4] (cpe-67-249-194-47.twcny.res.rr.com [67.249.194.47]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id s2JGWZB3010870 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Wed, 19 Mar 2014 12:32:35 -0400 Message-ID: <5329C6AE.7080803@cornell.edu> Date: Wed, 19 Mar 2014 16:32:00 -0000 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: cygwin-apps Subject: cygport cross compilation Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-03/txt/msg00015.txt.bz2 I've just started experimenting with using cygport for cross compiling, and I've come across two issues: 1. This is just a request: The latest cygport for Fedora appends i686 or x86_64 to the name of the working directory. I would find it convenient if cygport did the same thing on Cygwin, at least if the --32 or --64 option is specified. 2. I tried to do a build for x86-cygwin on x86_64-cygwin, but the compiler didn't work: $ cat test.c int main () { return 0; } $ i686-pc-cygwin-gcc test.c /tmp/ccaAaoj6.s: Assembler messages: /tmp/ccaAaoj6.s:9: Error: invalid instruction suffix for `push' Ken