[webkit-gtk] Webkitgtk compilation
annulen at yandex.ru
Fri Jun 2 07:04:08 PDT 2017
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 . Also, you can find example of cross-compilation setup for WebKitGTK at .
BTW, if you build cross-compiler with buildroot, it generates cmake toolchain files as well.
> Thanks and Regards,
> Thanks and Regards,
> 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>
>>>> 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,
More information about the webkit-gtk