Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 29 May 2017 22:07:47 +0100
From: Jorge Almeida <>
Subject: Re: -m32

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:
>  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.

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.
I'll try and see if I'm able to grokk it!



Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.