1. Enter the JThread-1.2.1 folder
2,./configure--prefix=/home/suxuandong/documents/qth264/hi3516/jrtpjthreadhisi/jthread-1.2.1/build-host= Arm-hisiv300-linux CC=ARM-HISIV300-LINUX-GCC cxx=arm-hisiv300-linux-g++
3. Make
4. Make install
5. Enter the JRTPLIB-3.7.1 folder
6,./configure--prefix=/home/suxuandong/documents/qth264/hi3516/jrtpjthreadhisi/jrtplib-3.7.1/build-host= Arm-hisiv300-linux--with-jthread-includes=/home/suxuandong/documents/qth264/hi3516/jrtpjthreadhisi/ Jthread-1.2.1/build/include/jthread CC=ARM-HISIV300-LINUX-GCC cxx=arm-hisiv300-linux-g++ LDFLAGS=-L/home/ suxuandong/documents/qth264/hi3516/jrtpjthreadhisi/jthread-1.2.1/build/lib/:/opt/hisi-linux/x86-arm/ arm-hisiv300-linux/arm-hisiv300-linux-uclibcgnueabi/lib:/opt/hisi-linux/x86-arm/arm-hisiv300-linux/ arm-hisiv300-linux-uclibcgnueabi:/opt/hisi-linux/x86-arm/arm-hisiv300-linux/:/home/suxuandong/documents/qth264 /hi3516/jrtpjthreadhisi/jthread-1.2.1/build/lib/libjthread.so
7. Make
8. Make Install
9. Copy the Jthread related header files and library files to the Jrtplib directory
10, arm-hisiv300-linux-g++-o example1 example1.cpp-i. /build/include/jrtplib3-l. /build/lib-ljrtp-ljthread-lpthread
HI3516A ARM-HISIV300-LINUX-GCC jrtplib Cross Compilation