下載下傳源碼-》解壓-》交叉編譯;
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