Version 2 (modified by 6 years ago) ( diff ) | ,
---|
Fuchsia
Currently, Fuchsia is only supported by the JSCOnly port.
Building
Create a CMake toolchain file, similar to the following:
set(CMAKE_SYSTEM_NAME Fuchsia) set(CMAKE_SYSTEM_PROCESSOR x86_64) set(CMAKE_C_COMPILER_TARGET x86_64-unknown-fuchsia) set(CMAKE_CXX_COMPILER_TARGET x86_64-unknown-fuchsia) set(CMAKE_SYSROOT /path/to/fuchsia-sdk/sysroot/x86_64-fuchsia) set(CMAKE_C_COMPILER /path/to/bin/clang) set(CMAKE_CXX_COMPILER /path/to/bin/clang)
Set the path to your toolchain file in your environment and run build-webkit with the appropriate flags:
$ export CMAKE_TOOLCHAIN_FILE=/path/to/x86_64-fuchsia.toolchain.cmake $ ./Tools/Scripts/build-webkit --jsc-only --fuchsia
Status
Currently, JSC fails to compile for Fuchsia. Hopefully that will improve as more support for OS(FUCHSIA) lands.
Note:
See TracWiki
for help on using the wiki.