From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mr Dash Four Subject: Re: cross compilation of xtables fails Date: Fri, 03 Dec 2010 20:04:40 +0000 Message-ID: <4CF94D58.6080008@googlemail.com> References: <4CF8F67B.8010504@googlemail.com> <4CF8F8B3.5080100@googlemail.com> <4CF8FF76.8040709@googlemail.com> <4CF94596.4080002@googlemail.com> <4CF94A8E.6060108@googlemail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id :disposition-notification-to:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=t4zwR6QYIELHz8YVxncO90czCTBc8SK4cDgBzzEVf24=; b=hUnzn77ycH24Fi/sbBS6a6JrY9h+PD/TeVGrNaKB1MFFzN0FWxOk80LCq2CkTlCxwH OUmVvsyM9jndPtPbBolviuJ90RRm4KCYbhhy0v8Th6LsRUQJLqLlsgMqqCr9eRzljnDj y7DaqmgoXaL00kzrtKenAkOmTl5/Jonh2dQPw= In-Reply-To: Sender: netfilter-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Jan Engelhardt Cc: netfilter@vger.kernel.org >> I presume I need to attach add "-march=i686 -mtune=pentium2" to LDFLAGS as >> well, seeing that gcc executes as "gcc -shared -m32 -o ..." if LDFLAGS="-m32", >> right? >> > > No, -march and -mtune are compile flags. > OK, I am perfecting it now...Thanks a bunch for helping me out! On a side note I see that in 1.31 --with-xlibdir is removed - how would xtables know what I am compiling/building for (x86_64 or i686)?