2009/8/18 Jilu Oommen <[email protected]>

> 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
> [email protected]
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
>
_______________________________________________
webkit-help mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help

Reply via email to