下载源码-》解压-》交叉编译;
CC= arm-linux ./configure --prefix=/home/libxml2-2.9.1/libxml2-pc --host=arm-linux --with-minimum=yes --with-reader=yes --with-output=no --with-threads=yes --with-tree=yes --with-writer=yes --with-xpath=yes --with-modules=yes --with-sax1=yes
如果要动态运行调试加上--with-run-debug=yes
然后make
再make istall