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

Jilu Oommen jilu at tataelxsi.co.in
Tue Aug 18 03:14:16 PDT 2009



Hi Nevo,

I can see the JPEG, TIFF, PNG  libraries already installed in /usr/lib
/usr/lib/libjpeg.so -> libjpeg.so.62.0.0
/usr/lib/libjpeg.so.62 -> libjpeg.so.62.0.0
/usr/lib/libjpeg.so.62.0.0

/usr/lib/libtiff.so -> libtiff.so.3.8.2
/usr/lib/libtiff.so.3 -> libtiff.so.3.8.2
/usr/lib/libtiff.so.3.8.2
/usr/lib/libtiffxx.so -> libtiffxx.so.3.8.2
/usr/lib/libtiffxx.so.3 -> libtiffxx.so.3.8.2
/usr/lib/libtiffxx.so.3.8.2

/usr/lib/libpng12.so -> libpng12.so.0.24.0
/usr/lib/libpng12.so.0 -> libpng12.so.0.24.0
/usr/lib/libpng12.so.0.24.0
/usr/lib/libpng.so -> libpng12.so
/usr/lib/libpng.so.3 -> libpng.so.3.24.0
/usr/lib/libpng.so.3.24.0

I wanted to build webkit without --disable-svg --disable-wml, 
--disable-jit etc

Can you please suggest from where I can get gtk libraries for ARM?

Thanks and regards,
Jil

Nevo wrote:
>
>
> 2009/8/18 Jilu Oommen <jilu at tataelxsi.co.in <mailto: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 <mailto:webkit-help at lists.webkit.org>
>     http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
>
>




More information about the webkit-help mailing list