delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/10/18/18:50:37

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=OBt71ZDMEb4CUEZVI9aIGgyCBSFIIhoISVV+AAI1MPi
UaeqU1BdqQpBouispBtAuM5SdbXtY9A6ZNra7vUbF5grGkRJrf/4XFxN9O3KlH7S
TMemVfBzXfheFwytQjGZIneguCGHCXR/n3K9Ut79IRiIaBjrvVdORbu3jvsNVOvo
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=Nk4dxFOX5xtPwPBx+kUuA4ahbKU=; b=FnTHJFX6Er48Gfonk
p3Ejj17jRhOkzBQrihrT0lVBvwt7irca548ZIT1Ct+dQ97U1G6oKx6Ct26w+S3Ae
MRC4ta8DOqh3a20/riaoVSaHwc8jCP2W2CIk/FMiE4jzunRvv1WLVQfm+P8zHgN/
xgP5Q6XpECtAgtRpxr9N/26RfA=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: etr-usa.com
Message-ID: <5261BB35.4030602@etr-usa.com>
Date: Fri, 18 Oct 2013 16:50:29 -0600
From: Warren Young <warren AT etr-usa DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1
MIME-Version: 1.0
To: Cygwin-L <cygwin AT cygwin DOT com>
Subject: Re: g++ -m32 option causes an error
References: <bug-58799-23798 AT http DOT gcc DOT gnu DOT org/bugzilla/> <bug-58799-23798-jpgPVpVU2B AT http DOT gcc DOT gnu DOT org/bugzilla/> <1382135640 DOT 94420 DOT YahooMailNeo AT web181306 DOT mail DOT ne1 DOT yahoo DOT com> <1382135893 DOT 8524 DOT YahooMailNeo AT web181304 DOT mail DOT ne1 DOT yahoo DOT com>
In-Reply-To: <1382135893.8524.YahooMailNeo@web181304.mail.ne1.yahoo.com>
X-IsSubscribed: yes

On 10/18/2013 16:38, Arthur Schwarz wrote:
>
> No error occurs during compilation with i686-pc-mingw32-g++ (GCC) 4.7.3.

Why are you using both -m32 *and* a cross-compiler?  If you're running 
64-bit Cygwin and need to make a 32-bit Cygwin program, use the 
cross-compiler.  Passing -m32 to the 32-bit Cygwin compiler shouldn't be 
necessary.

I wouldn't expect -m32 to work for Cygwin since it's not like other 
64-bit *ixes where 32-bit programs are expected to work side-by-side 
with 64-bit ones.  So, while any problem in -m32 handling could 
doubtless be fixed, there isn't a whole lot of incentive to do it. 
Cross-compiling fits the two-separate-platforms nature of the situation 
better.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019