[webkit-help] Cross-compiling webkit for ARM platform on Linux-x86 machine

Nevo sakur.deagod at gmail.com
Tue Aug 18 02:48:57 PDT 2009


2009/8/18 Jilu Oommen <jilu at tataelxsi.co.in>

> Hi,
>
> I am trying to cross-compile webkit on Linux-x86 machine for ARM platform
> (target platform) using ARM-linux-gnu toolchain.
>
> Can anybody let me know the steps to crosscompile webkit for ARM platform.
>
> I want to know what arguments needed to be given as input for './configure'
>
> Currently I am using the command :
> ./configure --build=i686-pc-linux-gnu --host=arm-softfloat-linux
> --target=arm
> CC=/opt/ptxdist-0.10.4/gcc-4.0.2-glibc-2.3.6/arm-softfloat-linux-gnu/bin/arm-softfloat-linux-gnu-gcc
> CXX=/opt/ptxdist-0.10.4/gcc-4.0.2-glibc-2.3.6/arm-softfloat-linux-gnu/bin/arm-softfloat-linux-gnu-g++
> STRIP=/opt/ptxdist-0.10.4/gcc-4.0.2-glibc-2.3.6/arm-softfloat-linux-gnu/bin/arm-softfloat-linux-gnu-strip
> AR=/opt/ptxdist-0.10.4/gcc-4.0.2-glibc-2.3.6/arm-softfloat-linux-gnu/bin/arm-softfloat-linux-gnu-ar
> AS=/opt/ptxdist-0.10.4/gcc-4.0.2-glibc-2.3.6/arm-softfloat-linux-gnu/bin/arm-softfloat-linux-gnu-as
> RANLIB=/opt/ptxdist-0.10.4/gcc-4.0.2-glibc-2.3.6/arm-softfloat-linux-gnu/bin/arm-softfloat-linux-gnu-ranlib
> NM=/opt/ptxdist-0.10.4/gcc-4.0.2-glibc-2.3.6/arm-softfloat-linux-gnu/bin/arm-softfloat-linux-gnu-nm'
>
> I am getting stuck at :
>
> >checking for jpeg_destroy_decompress in -ljpeg... no
> >configure: error: JPEG library (libjpeg) not found


 Apparently , you need  libjpeg ,probably libtiff.libpng, ...etc.  And you
should set LD_LIBRARY_PATH/PATH/LDFLAGS/CFLAGS/ properly to refer to your
cross compile environment.
 Again,  "./configure --help" will give you a list of options , you could
disable some of them , like --disable-svg --disable-wml, --disable-jit ,or
other relevant ones. I guess you should have gtk libraries for ARM as well.


>
>
> Thanks in advance,
> Jil
>
>
>
> _______________________________________________
> webkit-help mailing list
> webkit-help at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20090818/0cadfc3f/attachment.html>


More information about the webkit-help mailing list