LIBXML2 Transplant ARM9

Source: Internet
Author: User

Preparatory work:

1. LIBXML2 software version: libxml2-2.6.32.tar.gz

2. Cross-compiling tool chain: Arm-none-linux-guneabi

Software Installation:

1. Set Environment variables:

Export Path=/arm-none-linux-guneabi/bin: $PATH

(Note: Here the variable is the path extracted by the cross-compilation tool)
Export Arch=arm
Export Cross_compile=arm-linux

2, Decompression: Tar xvf libxml2-2.6.32.tar.gz

3. Go to unzip file directory: CD libxml2-2.6.32/

4, configuration:./configure--host=arm-linux--target=arm-linux CC=ARM-NONE-LINUX-GNUEABI-GCC ar=arm-none-linux-gnueabi-ar LD= Arm-none-linux-gnueabi-ld Anlib=arm-none-linux-gnueabi-ranlib--PREFIX=/OPT/LIBXML2

5. Compiling: Make

6. Installation: sudo make install installed in/opt/libxml2/libxml directory after installation is complete. Cross-compiling required header files and library files. (Available by: readelf-h filename to see if it is compiled as an arm version)

7. Transplant: Place the libxml2.so.2 in the/opt/libxml2/libxml/lib/directory on the PC in the/lib or/usr/lib directory of the Development Board. The migration is complete.

LIBXML2 Transplant ARM9

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.