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 20:08:05 +0000
From: "Laurent Bercot" <ska-dietlibc@...rnet.org>
To: musl@...ts.openwall.com
Subject: Re: -m32

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

  Fortunately, these are easy to make with the musl-cross-make tool.
  Here are a few: https://skarnet.org/toolchains/cross/
  You'll be interested in the i486* or i686* ones.

--
  Laurent

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.