Compiling Fuchsia - abhishekkumardwivedi/Fuchs1a-doc GitHub Wiki

Compilation steps

  1. fx set bringup.qemu-x64
  2. fx build
  3. fx run

Instead of easy to use fx wrapper commands above, we can work with Gn and Ninja commands also. If gn and ninja are available in PATH then we can avoid fx initial in following commands.

$ fx gn gen out/default --args='import("//boards/x64.gni") import("//products/core.gni")'
For list of available gn build options:
gn args out/default --list

$ ninja -C out/default.zircon
$ ninja -C out/default