Hi everyone, i have successfully compiled and run webkit using Qtopia core on ARM platform. But the the size of the webkit library --libQtWebKit.so.4.3.3 is very large(of 20 MB). Can anyone say me how to reduce the size of this library? with regards, saravanan.
Hello Saravanan,
i have successfully compiled and run webkit using Qtopia core on ARM platform. But the the size of the webkit library --libQtWebKit.so.4.3.3 is very large(of 20 MB). Can anyone say me how to reduce the size of this library?
I only compiled the GTK, not the Qt version for ARM, but got it down to around 9,9MB. Did you try removing all symbols by either setting -g0 as a compile option or using the "strip" command line tool? You might also try setting -Os (optimize for size) as a compile option by prefixing CXXFLAGS=-Os to calling ./configure. If all else fails you might also disable some WebKit features to further reduce size. HTH & regards, Dominik
Hi Dominik, What steps did you take in order to get the size of the library down to 9.9 MB? Best Regards, Anurag On Mon, Aug 11, 2008 at 5:51 PM, Dominik Roettsches < Dominik.Roettsches@access-company.com> wrote:
Hello Saravanan,
i have successfully compiled and run webkit using Qtopia core on ARM platform. But the the size of the webkit library --libQtWebKit.so.4.3.3 is very large(of 20 MB). Can anyone say me how to reduce the size of this library?
I only compiled the GTK, not the Qt version for ARM, but got it down to around 9,9MB. Did you try removing all symbols by either setting -g0 as a compile option or using the "strip" command line tool? You might also try setting -Os (optimize for size) as a compile option by prefixing CXXFLAGS=-Os to calling ./configure. If all else fails you might also disable some WebKit features to further reduce size.
HTH & regards,
Dominik
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
-- Anurag Singh Stat Rosa Pristina Nomine,Nomina Nuda Tenemus.
Hi, I tried compiling teh webkit for Qt using ./configure. but i could not.. its asking for GTK+, pango,cairo dependncies which are not required for Qtopia...i think i can do that... let me try anyway thanks for the suggesstion. with regards, saravanan On Mon, Aug 11, 2008 at 5:51 PM, Dominik Roettsches < Dominik.Roettsches@access-company.com> wrote:
Hello Saravanan,
i have successfully compiled and run webkit using Qtopia core on ARM platform. But the the size of the webkit library --libQtWebKit.so.4.3.3 is very large(of 20 MB). Can anyone say me how to reduce the size of this library?
I only compiled the GTK, not the Qt version for ARM, but got it down to around 9,9MB. Did you try removing all symbols by either setting -g0 as a compile option or using the "strip" command line tool? You might also try setting -Os (optimize for size) as a compile option by prefixing CXXFLAGS=-Os to calling ./configure. If all else fails you might also disable some WebKit features to further reduce size.
HTH & regards,
Dominik
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Hello Saravanan,
I tried compiling teh webkit for Qt using ./configure. but i could not.. its asking for GTK+, pango,cairo dependncies which are not required for Qtopia...i think i can do that... let me try
Using the ./configure script is valid for the GTK build. For Qt I think it's a qmake based build and it works like described in the wiki (http://trac.webkit.org/wiki/BuildingQtOnLinux) - So for the Qt build case you would have to find a different way of specifying the CXXFLAGS. Possibly by calling export CXXFLAGS=$CXXFLAGS -g0 beforehand. Dominik
Hi, i recompiled the webkit with -Os ,but then also the size comes to 12 MB(after stripping). Is there any possibility of reducing the size further ? with regards, saravanan On Tue, Aug 12, 2008 at 2:58 PM, Dominik Roettsches < Dominik.Roettsches@access-company.com> wrote:
Hello Saravanan,
I tried compiling teh webkit for Qt using ./configure. but i could not.. its asking for GTK+, pango,cairo dependncies which are not required for Qtopia...i think i can do that... let me try
Using the ./configure script is valid for the GTK build. For Qt I think it's a qmake based build and it works like described in the wiki (http://trac.webkit.org/wiki/BuildingQtOnLinux) - So for the Qt build case you would have to find a different way of specifying the CXXFLAGS. Possibly by calling export CXXFLAGS=$CXXFLAGS -g0 beforehand.
Dominik _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
participants (3)
-
Anurag Singh
-
Dominik Roettsches
-
Saravanan Ponnuswamy