Cross compiler tcpdump to hisi

1. Download Source:

URL: http: //www.tcpdump.org/release/

(1)libpcap

(2)tcpdump

2. Compile: libpcap

./configure --prefix=$PWD/install --host=arm CC=arm-himix200-linux-gcc --with-pcap=linux --disable-ipv6

make 

make install

3. Compile: tcpdump

./configure  --host=arm CC=arm-himix200-linux-gcc

make 

4, tcpdump is the generation of the required documents.

Guess you like

Origin www.cnblogs.com/cdy0626/p/12551847.html