Re: cross compilation of xtables fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 2010-12-03 21:04, Mr Dash Four wrote:

>
>>> 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)?

It never used xtlibdir to determine what you want to build for.
You tell it via --host and cflags/ldflags/etc.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux