[webkit-help] Cross-compiling webkit for ARM platform on Linux-x86 machine
Nevo
sakur.deagod at gmail.com
Tue Aug 18 03:40:43 PDT 2009
You need those libraries for ARM ,not for x86. Basically, you could try to
search precompiled binaries/headers/libraries for all those dependencies ,
copy them to one place,like /opt/arm/ . Then set
LD_FLAGS/CFLAGS/PKG_CONFIG_PATH.... to point to the proper dirs under
/opt/arm/.
Unfortunately, I have no idea what's the best host for those stuffs, you
might better do it yourself ,that should be not too hard , just a mater of
time :)
2009/8/18 Jilu Oommen <jilu at tataelxsi.co.in>
>
>
> 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
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20090818/9e385056/attachment-0001.html>
More information about the webkit-help
mailing list