Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 16 Feb 2016 13:39:16 +0300 (MSK)
From: Alexander Monakov <>
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).


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.