From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11370 Path: news.gmane.org!.POSTED!not-for-mail From: Matias Fonzo Newsgroups: gmane.linux.lib.musl.general Subject: Re: -m32 Date: Mon, 29 May 2017 18:23:53 -0300 Organization: Dragora GNU/Linux-Libre Message-ID: <20170529182353.475df513@rafaela> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/4FlTsKE+awH.7QZSm.jluOB"; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1496093027 31124 195.159.176.226 (29 May 2017 21:23:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 29 May 2017 21:23:47 +0000 (UTC) Cc: musl@lists.openwall.com To: Jorge Almeida Original-X-From: musl-return-11383-gllmg-musl=m.gmane.org@lists.openwall.com Mon May 29 23:23:43 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1dFS8c-0007vY-QE for gllmg-musl@m.gmane.org; Mon, 29 May 2017 23:23:42 +0200 Original-Received: (qmail 21881 invoked by uid 550); 29 May 2017 21:23:46 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 21857 invoked from network); 29 May 2017 21:23:45 -0000 In-Reply-To: X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.10; x86_64-dragora-linux-gnu) Xref: news.gmane.org gmane.linux.lib.musl.general:11370 Archived-At: --Sig_/4FlTsKE+awH.7QZSm.jluOB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hola Jorge, On Mon, 29 May 2017 22:07:47 +0100 Jorge Almeida wrote: > On Mon, May 29, 2017 at 9:08 PM, Laurent Bercot > wrote: > >> I tried to compile a "hello world" program (on a x86_64 system) > >> with the -m32 flag of gcc: =20 > > > > > > AIUI, musl doesn't support multi-arch, and considers that x86 and > > x86_64 are two different architectures. You cannot use the musl-gcc > > wrapper for this, you need a cross-toolchain actually targetting > > your 32-bit arch. =20 >=20 > Thanks, Laurent. I want to run my binaries on a 64bit system, and I > would prefer to take advantage of its capabilities. But I have no use > for 64 bit pointers, which, in my case, are responsable for a large > size overhead. Since the m32 flg is not supported, I suppose the > target should be x32, which the musl site says is experimental (maybe > that information is outdated?) > > > > Fortunately, these are easy to make with the musl-cross-make > > tool. =20 > I'll try and see if I'm able to grokk it! Yes. musl-cross-make is an option. If you are looking for an already made x32 -- from time to time I publish pre-built cross-compilers based on musl, check: http://gungre.ch/dragora/mirror/current/compilers/darkcrusade_2017Jan05/ Regards, Mat=C3=ADas --Sig_/4FlTsKE+awH.7QZSm.jluOB Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQJ8BAEBCgBmBQJZLJFpXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzNUJEQjlENDZCNTZCNUZBQ0I2NDdDOUIz QUFGMUNFQzIwM0E5OUQ1AAoJEDqvHOwgOpnVlYoP/3KNPo27Xxie5HB8+BBsdhIU IhH1ZCbV/cxNtyid8ky7cB5LIYUg+dqO4g2m6h38zsrk5kpn83LkRlFg78no4jSM 1oDFeYMTAZvksAZT//ZVMhwpT7G24KYnI/p5yzRLMMoF9a7gK/HMKwZkX9lMhVAC HNZY1w0j+cqXon0OPS/GgvfXI1RzfWikaqBKG5xKEud/JIN+MDHV18u+z/cfljOD +Bf5a4T50hBxhAlSfry11trdLyVXwRf8briiolOSog0DspL3aAK3n6U66Mtc+Y9P NOPte/KTgkvaj3I0BOFpgsgcmWO0J0WJQ1+zy+jWYOMxnSoVqrDihR3oFJUyjEj8 fb4pGNmAtVn+APyABk+ft2PPQoUHzPM/AcFQkCshDCziG3QWPO1jzoSq+Y/rMQNp mkN7LpoTovqJ6U5XNq+xbMXypNaRXDU59NzRrUMYBXcLghGma1SVMQbgUiDWT0Bm D6rry4toSyPhZs9ZMx3+0ftDLNpwdXaiMJ52TTpRGhp3Z3K+8DvHtaE8tNMze1Yp efr76KXLTZIsaVr2QrkKuDy0ub6S7QI7uS87BP3+A87JX0AotJg7hfIk4kX8E/DA oOyvOzg7ISk6uJG8sthbDB8khMhCqAN2aM1bbY6e50bpyE8TIXPrBQ1ElSWIHFTv PcdPfHfpV0SUqkFtd2UL =Mq9A -----END PGP SIGNATURE----- --Sig_/4FlTsKE+awH.7QZSm.jluOB--