Changes between Initial Version and Version 1 of Fuchsia


Ignore:
Timestamp:
Jun 27, 2018 9:45:51 PM (6 years ago)
Author:
abarth@webkit.org
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Fuchsia

    v1 v1  
     1[[PageOutline]]
     2
     3= Fuchsia =
     4
     5Currently, Fuchsia is only supported by the [wiki:JSCOnly JSCOnly Team] port.
     6
     7== Building ==
     8
     9Create a CMake toolchain file, similar to the following:
     10
     11{{{
     12set(CMAKE_SYSTEM_NAME Fuchsia)
     13set(CMAKE_SYSTEM_PROCESSOR x86_64)
     14set(CMAKE_C_COMPILER_TARGET x86_64-unknown-fuchsia)
     15set(CMAKE_CXX_COMPILER_TARGET x86_64-unknown-fuchsia)
     16set(CMAKE_SYSROOT /path/to/fuchsia-sdk/sysroot/x86_64-fuchsia)
     17set(CMAKE_C_COMPILER /path/to/bin/clang)
     18set(CMAKE_CXX_COMPILER /path/to/bin/clang)
     19}}}
     20
     21Set the path to your toolchain file in your environment and run build-webkit with the appropriate flags:
     22
     23{{{
     24$ export CMAKE_TOOLCHAIN_FILE=/path/to/x86_64-fuchsia.toolchain.cmake
     25$ ./Tools/Scripts/build-webkit --jsc-only --fuchsia
     26}}}
     27
     28== Status ==
     29
     30Currently, JSC fails to compile for Fuchsia.  Hopefully that will improve as more support for OS(FUCHSIA) lands.