Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <BBCF7031-80EA-48C0-AE4A-286D8F7888AF@shiz.me>
Date: Thu, 6 Oct 2016 02:24:43 +0200
From: Shiz <hi@...z.me>
To: musl@...ts.openwall.com
Subject: Re: 32 bit musl?

As Rich noted, a cross-compiler is the easy way out here - GCC multilib has a number of assumptions that break under musl and likely elsewhere.
Since you seem unsure how to compile one, I’d recommend musl-cross-make[1].
You only need to edit a single variable in config.mak and run 'make && make install' to get a working toolchain.

- Shiz

[1]: https://github.com/richfelker/musl-cross-make

> On 06 Oct 2016, at 00:20, John Mudd <johnbmudd@...il.com> wrote:
> 
> I've been using musl on a 32-bit Linux to build 32-bit apps to run on 32 and 64-bit Linux machines. That works well.
> 
> I upgraded to a 64 bit development box. I've assumed I would just need to use -m32 option and I could still build 32 bit apps on my 64 bit machine. I tried it but it tries to mix 32 & 64 bit code. I guess I was naive.
> 
> It looks like I should build a cross compiler? I see several suggestions on how to do this so I'm not confident this will work well. Or would it be easier if I just installed a 32 bit Linux in a VM just for building 32 bit apps with musl?
> 
> John

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.