Libjpeg cross-compiling libjpeg. so.62

Source: Internet
Author: User

Target hardware platform:

Ti da Vinci dm6467t, ARM + DSP architecture

Cross tool:

Arm-Linux-gcc

Host system:

Ubuntu10.04lts

======================

Download libjavassr6.tar.bz2

(If .zip is downloaded, an error may occur during configure, because configure and other files are stored in winows and must be saved in the Linux document format)

After decompression, under the source document code (get jpeg-6b:

./Configure -- Host = arm-Linux -- prefix =/opt/arm-2009q1/bin cc = arm-Linux-GCC -- enable-shared -- enable-static

The./libtool command not found and other words appear. This requires cross-Compilation of libtools.

Download libtool-1.5.22.tar.gz, decompress it, and perform cross-compilation similar

./Configure -- Host = arm-Linux -- prefix =/opt/arm-2009q1/bin cc = arm-Linux-gcc

Make to get libtool, libtoolize two tools, copy to the jpeg-6b

Make & make install

Generate the following file in/opt/arm-2009q1/bin and copy the following file to the target system/lib.

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.