[webkit-gtk] Webkitgtk compilation
Nagendra K
pingnagendra at gmail.com
Fri Jun 16 00:41:45 PDT 2017
Hi All,
How to know the WebKit revision being used in webkitgtk.
Thanks and Regards,
Nagendra
On 2 Jun 2017 7:34 p.m., "Konstantin Tokarev" <annulen at yandex.ru> wrote:
>
>
> 02.06.2017, 16:42, "Nagendra K" <pingnagendra at gmail.com>:
> > Hi Konstantin and Micheal,
> >
> > In the below email, you have mentioned the below line
> > b) need to update device userland to use new runtime libraries
> >
> > I have built the toolchain, now want to understand how to compile
> webkitgtk with this toolchain. You have mentioned the above line, can you
> be more details on this
> > I tried to edit the makefiles for CC and CXX to the set to point to the
> newly built cross compile binaries, but when I tried to do cmake these
> changes they are being reset back to the path of the original which are
> pointing to PC's gcc. Any suggestion here.
>
> For cross-compilation with cmake you should use toolchain file, where you
> specify location of compilers' paths and library search paths. See official
> documentation of cmake [1]. Also, you can find example of cross-compilation
> setup for WebKitGTK at [2].
>
> BTW, if you build cross-compiler with buildroot, it generates cmake
> toolchain files as well.
>
> [1] https://cmake.org/cmake/help/v3.7/manual/cmake-toolchains.
> 7.html#cross-compiling-for-linux
> [2] https://trac.webkit.org/wiki/BuildingGtk#CrossCompilingforARMdevices
>
>
> > Thanks and Regards,
> > Nagendra
> >
> > Thanks and Regards,
> > Nagendra
> >
> > On 3 May 2017 10:17 p.m., "Konstantin Tokarev" <annulen at yandex.ru>
> wrote:
> >
> >> 03.05.2017, 19:39, "Michael Catanzaro" <mcatanzaro at igalia.com>:
> >>> On Wed, May 3, 2017 at 6:09 AM, Konstantin Tokarev <annulen at yandex.ru>
> >>> wrote:
> >>>> It should be possible to build 2.12.5 if you disable FTL JIT and
> >>>> IndexedDB. It's possible to enable these features as well, but you'll
> >>>> need to patch code.
> >>>
> >>> You could also look into cross-compiling from a desktop computer. This
> >>> will not only save you a lot of time in the long run, you also won't
> >>> have to worry about the toolchain on the target.
> >>>
> >>> I'm not sure if we have instructions for cross-compiling or not. We
> >>> ought to; it's important.
> >>
> >> I assumed that topic starter is cross-compiling.
> >>
> >> To cross-compile, you
> >> a) need to have sitable cross-toolchain, and
> >> b) need to update device userland to use new runtime libraries
> >>
> >> So there are enough troubles even if you don't ever try to run compiler
> on device
> >>
> >>>
> >>> Good luck,
> >>>
> >>> Michael
> >>
> >> --
> >> Regards,
> >> Konstantin
>
>
> --
> Regards,
> Konstantin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20170616/450926a2/attachment.html>
More information about the webkit-gtk
mailing list