Fuchsia 起航

170 阅读1分钟

Fuchsia 起航


Debian

sudo apt-get install build-essential curl git python unzip

下载源码

curl -s "https://fuchsia.googlesource.com/scripts/+/master/bootstrap?format=TEXT" | base64 --decode | bash

配置一下环境变量

cp .jiri_root/bin/jiri ~/bin
ln -s `pwd`/scripts/fx ~/bin

编译

fx set x64
fx full-build

使用QEMU

fx run