delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/10/19/21:50:50

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; q=dns; s=default; b=Md2Tgj
d2dxpSJED3LdNi6cQY6t6zb9WYnn3I2jPR5AZA0lENXd7btY6y3bC/uAtN9O9Kh1
NrHxYy0Mi22RuS1Z58jWzCANYSn5B5vipGynulkOUXmif26AIsVFOhYtLdsIUxJ9
rxFDqnqYoiYG5HSJPU0R8OywaZGYYSP8bCHK0=
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; s=default; bh=Y+Y5pkdlBz9u
oD1ePnox27nn6iI=; b=Cio6W29svDlJR/o8XkF0iemaVorgXV4ggcL3Mes+b7kM
PNuI8bbNemZX6pcEbovFKbRGkXUzj9YtGKj1o6mPwzCKW3PFMSBr/iebrSwyNBdZ
dAI0rPC63sQQLxOaTHyI994Z38RnNlIgEZ0rMHRDEo/i0h+fNIRGBUhGIjmsKKs=
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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-pd0-f181.google.com
X-Received: by 10.66.122.40 with SMTP id lp8mr10859517pab.82.1382233830543; Sat, 19 Oct 2013 18:50:30 -0700 (PDT)
Message-ID: <526336DB.3020008@gmail.com>
Date: Sun, 20 Oct 2013 09:50:19 +0800
From: JonY <10walls AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: 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> <1382210427 DOT 30799 DOT YahooMailNeo AT web181305 DOT mail DOT ne1 DOT yahoo DOT com>
In-Reply-To: <1382210427.30799.YahooMailNeo@web181305.mail.ne1.yahoo.com>
X-IsSubscribed: yes

--4s4IVvqEwo9PfTh7H6K9whRq8uFSQxMHn
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 10/20/2013 03:20, Arthur Schwarz wrote:
>=20
> What I am trying to do is to cross-compile to a 32-bit system and get 4-b=
yte longs, 8-byte doubles and 4-byte pointers instead of 8-byte longs, 16-b=
yte doubles and pointers. I have 11 compilers downloaded as part of the sta=
ndard download from cygwin, with some being duplicates. Some of the compile=
r names seemed to be cross-compiled to a 32-bit CPU, and in checking this o=
ut this guess turns out to be untrue. What I want is the compiler to genera=
te 32-bit code loadable on a 64-bit and a 32-bit platform. This is possible=
 using the 32-bit cygwin compilers.
>=20=20
>  I am using Netbeans as my development IDE. The compilers used and the re=
sults of compilation are given below.
>=20=20
>  I don't understand why there is not x86_64-pc-cygwin assembler and I don=
't understand why the builds link to the wrong libraries. I'm going to cros=
s-mail this letter to Netbeans to see if they can give some help.
>=20=20
>  Sorry about the delay, I've trying to find out what is going on.
>=20=20

x86_64-pc-cygwin does 64bit Cygwin, it does not support multilib nor
-m32, it will not do so in the future either, so don't argue about
adding support. "g++" in 64bit Cygwin targets 64bit Cygwin.

Use 32bit Cygwin or the 32 Cygwin cross compiler in 64bit Cygwin
instead. I don't really understand why this is so hard to grasp.



--4s4IVvqEwo9PfTh7H6K9whRq8uFSQxMHn
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (MingW32)

iQIcBAEBAgAGBQJSYzbhAAoJEHE7X+KcFF1FmakP/j5Ffhmg7VUHzb6x1BhGD2X2
vO6snPPl9QcNcj2v/o5prAOfOfN2ibmmtqIlRAbhWxv9hgG43t+fzY6N8aFVHQfp
Rducvz0L2l5gBCoHoLhVoE/KdSE6wG+2EwwBcycSE41SYc7/FYOzB1vJCnr7SjEQ
2cMtJT2nMm1gtrE/Hwo2mQbyP6VXXhduhz8v66V2wnu1io3doHBfK30t7HV/ftTS
BCTP4W8QucqvXJk9jk0MHd+8Rm4IuFDHeDlLOoZ1sd0BN5SfI3WwzrE1+PnUl/sn
FDldPpEWm1ltubaWuCm/Pm8Hugb6sdQ2saU5yQ1YpOAuziXTtXZx25t3Q699O56S
xe8Y15CNDwxSsp1lyRj79a5KBqx6J/siyEnzM2mBP2m0sPUpkms00Nhpz2kd33Cv
I/4Ja6HI0EbLJ3/JVn9HK9qYkDVXqtAZSnbm2L5nhBvmhdEypo3JEKqb7p9OH0Pa
MOmrbgh3zOwFdnKUS/BMfo/1oIDEQZun9vKsY96YZcnwsl7tYBlxm5t4CTwjEf4u
oZXrCbI1+ybD0zKhacjLNwaiaylwr7XAJHnT3VtGHOxtVVbmbl34mbo1xHCKzHQS
6cr4Rf5wgM/N9pWycRPA5ZYpry/HF4NiNvd8TzFw/jhJIEKB9LB4LVsfQjK2Wdqq
Y+OSJ9hzYdUaMpjM0bh9
=WAKL
-----END PGP SIGNATURE-----

--4s4IVvqEwo9PfTh7H6K9whRq8uFSQxMHn--

- Raw text -


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