Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160305234605.be9708b97e05f4b7337cc090@asm32.info>
Date: Sat, 5 Mar 2016 23:46:05 +0200
From: John Found <johnfound@...32.info>
To: musl@...ts.openwall.com
Subject: Re: Error on compiling musl for i386.

On Sat, 5 Mar 2016 16:18:51 -0500
Rich Felker <dalias@...c.org> wrote:

> 
> I think your gcc is a compiler for some arch other than i386, probably
> x86_64. Using --host=i386 forces configure to assume you're telling it
> the right arch and suppresses auto-detection. If this is the problem,
> you can either set CC to a cross-compiler when invoking configure, or
> try CC="gcc -m32".
> 
> I have some ideas for making this more foolproof in the future.
> 
> Rich

Exactly! CC="gcc -m32" fixed the issue and it compiles and installs fine. 
I know about -m32 option, but I though it will be set by the ./configure script
when I set --host=i386, because there is no 64bit i386 processors.

So, you are right that it needs some fixing, especially for such noobs as me. ;)

Best Regards
-- 
http://fresh.flatassembler.net
http://asm32.info
John Found <johnfound@...32.info>

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.