From 2ea3b9355acdfd5271d6bb9b35b98f7cf646f154 Mon Sep 17 00:00:00 2001 From: yude Date: Sun, 30 Aug 2020 12:55:40 +0000 Subject: [PATCH] =?UTF-8?q?=E6=96=B9=E9=87=9D=E8=BB=A2=E6=8F=9B:=20?= =?UTF-8?q?=E3=83=8D=E3=82=A4=E3=83=86=E3=82=A3=E3=83=96=20=E2=86=92=20WSL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/qemu-windows.md | 19 ------------------- docs/wsl.md | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 19 deletions(-) delete mode 100644 docs/qemu-windows.md create mode 100644 docs/wsl.md diff --git a/docs/qemu-windows.md b/docs/qemu-windows.md deleted file mode 100644 index 2a48378..0000000 --- a/docs/qemu-windows.md +++ /dev/null @@ -1,19 +0,0 @@ -# (未完成) QEMU on Windows で起動する -## 必要なソフトウェア -* [Git for Windows](https://gitforwindows.org/) -* (GUI が必要であれば) [TortoiseGit](https://tortoisegit.org/) - * これ以外にも Git を GUI で扱うためのソフトウェアは存在しますので、適宜選んでください。 -* [Python (バージョン 3.7 以降)](https://www.python.org/downloads/windows/) -* [Cygwin](https://cygwin.com/install.html) またはそれに準ずる UNIX ライクな環境を提供する互換レイヤー -* [MinGW](https://ja.osdn.net/projects/mingw/downloads/68260/mingw-get-setup.exe/) またはそれ以外のWindows向け gcc (cl.exe とかでもOK?) -* [LLVM](https://chocolatey.org/packages/llvm) - -## 手順 -前提: 上記のソフトウェアがすべてインストールされ、PATH が通っている。 - -1. コマンドラインで下記を実行する -```git clone https://github.com/tianocore/edk2.git``` -```cd edk2``` -```git clone https://gitlab.pepepper.cf/ecri/sprinkleos.git``` -```. edksetup.sh``` -```make -C BaseTools/Source/C``` diff --git a/docs/wsl.md b/docs/wsl.md new file mode 100644 index 0000000..3d04b39 --- /dev/null +++ b/docs/wsl.md @@ -0,0 +1,14 @@ +# (未完成) Windows Subsystem for Linux (WSL) で起動する + +## 手順 +前提: 上記のソフトウェアがすべてインストールされ、PATH (環境変数)が通っている。 + +1. コマンドラインで下記を実行する +```sudo apt -y update && sudo apt -y upgrade``` +```sudo apt -y install build-essential uuid-dev iasl git gcc-5 nasm python3-distutils``` +```git clone https://github.com/tianocore/edk2.git``` +```cd edk2``` +```git clone https://gitlab.pepepper.cf/ecri/sprinkleos.git``` +```edksetup.bat rebuild``` +```edksetup.bat``` +```make -C BaseTools/Source/C```