Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.20.1602161335040.32308@monopod.intra.ispras.ru>
Date: Tue, 16 Feb 2016 13:39:16 +0300 (MSK)
From: Alexander Monakov <amonakov@...ras.ru>
To: musl@...ts.openwall.com
Subject: Re: Compile error with --target=i386

On Tue, 16 Feb 2016, Petr Petrov wrote:
> Bingo! It works! Thank you very much!
> 
> Never-mind, I tried to use CFLAGS:
> 
> CFLAGS=-m32
> ./confgiure --target=i386
> make
> 
> but it didn't work.

As a general rule, ABI-altering options should go to $CC/$CXX, not $CFLAGS,
because the latter need not be applied when assembling and linking (so if -m32
is not present on gcc command line when doing the link step, it won't pass
-m elf_i386 to ld, and library search paths will be wrong too).

Alexander

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.