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

2009-08-23 Thread nkbai baink
first ,you should export QTDIR variable to the qt version compiled with
arm-softfloat-linux-gnu-g++.
then export  PATH=$QTDIR/bin:$PATH
force  build-webkit --qt to use your own qmake ,not the system qmake.
it works when compiling webkit nightly build on my own machine.
___
webkit-help mailing list
webkit-help@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help


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

2009-08-21 Thread Niklas Nylund
You might want to take a look at scratchbox, it could make your  
porting work easier.



Niklas Nylund

On 21 aug 2009, at 06.39, Jilu Oommen wrote:


No , this does not work, still g++ is getting invoked instead of

arm-softfloat-linux-gnu-g++

My observation is that each time when build-webkit is invoked, the  
makefiles are getting generated,

and CXX flag is getting the value g++.

tonikitoo (Antonio Gomes) wrote:

CC=arm-softfloat-linux-gnu-g++ build-webkit --qt

maybe CXX instead of CC

does it work ?

On Thu, Aug 20, 2009 at 10:25 AM, Ariya Hidayatariya.hida...@gmail.com 
 wrote:


Currently my problem is that for crosscompiling Webkit-Qt port  
for ARM,

instead of g++
I want to compile the files using 'arm-softfloat-linux-gnu-g++'


Have you ever tried to compile simple Qt-based program for ARM using
your  'arm-softfloat-linux-gnu-g++' compiler? If not, then try to do
that first.


--
Ariya Hidayat, Code Monkey
http://www.linkedin.com/in/ariyahidayat
___
webkit-help mailing list
webkit-help@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help










___
webkit-help mailing list
webkit-help@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help


___
webkit-help mailing list
webkit-help@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help


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

2009-08-20 Thread Ariya Hidayat
 Currently my problem is that for crosscompiling Webkit-Qt port for ARM,
 instead of g++
  I want to compile the files using 'arm-softfloat-linux-gnu-g++'

Have you ever tried to compile simple Qt-based program for ARM using
your  'arm-softfloat-linux-gnu-g++' compiler? If not, then try to do
that first.


-- 
Ariya Hidayat, Code Monkey
http://www.linkedin.com/in/ariyahidayat
___
webkit-help mailing list
webkit-help@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help


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

2009-08-18 Thread Jilu Oommen



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 j...@tataelxsi.co.in mailto:j...@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@lists.webkit.org mailto:webkit-help@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help





___
webkit-help mailing list
webkit-help@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help