SDK Toolchain on WSL: Difference between revisions

From Yocto Project
Jump to navigationJump to search
Line 4: Line 4:
Refer to [https://docs.microsoft.com/en-us/windows/wsl/install-win10 Windows Subsystem for Linux Installation Guide for Windows 10] for WSL installation Guide.
Refer to [https://docs.microsoft.com/en-us/windows/wsl/install-win10 Windows Subsystem for Linux Installation Guide for Windows 10] for WSL installation Guide.


After you install and start up WSL, You need to install essential packages on your WSL. The following command installs the packages based on an WSL Debian GNU/Linux:
WSL comes with very minimal packages,so after you install and start up WSL, You need to install essential packages on your WSL.  
The following command installs the packages based on  
 
WSL Debian GNU/Linux:
  <code> $apt install xz-utils gcc python autoconf make cmake </code>
  <code> $apt install xz-utils gcc python autoconf make cmake </code>


above command also work on WSL Ubuntu 16.04 LTS and 18.04 LTS.  
WSL Ubuntu 16.04 LTS and 18.04 LTS.  
<code> $apt install gcc python autoconf make cmake </code>


you might want to refer to [https://www.yoctoproject.org/docs/2.6/sdk-manual/sdk-manual.html#sdk-using-the-standard-sdk Using the Standard SDK] for SDK Setup.
you might want to refer to [https://www.yoctoproject.org/docs/2.6/sdk-manual/sdk-manual.html#sdk-using-the-standard-sdk Using the Standard SDK] for SDK Setup.

Revision as of 13:56, 11 January 2019

Windows user can now do development using yocto project SDK toolchain through Windows Subsystem for Linux (WSL). You may look for [ https://docs.microsoft.com/en-us/windows/wsl/about WSL Documentation] for more information about WSL

Install and setup WSL on Windows

Refer to Windows Subsystem for Linux Installation Guide for Windows 10 for WSL installation Guide.

WSL comes with very minimal packages,so after you install and start up WSL, You need to install essential packages on your WSL. The following command installs the packages based on

WSL Debian GNU/Linux:

 $apt install xz-utils gcc python autoconf make cmake 

WSL Ubuntu 16.04 LTS and 18.04 LTS.

 $apt install gcc python autoconf make cmake 

you might want to refer to Using the Standard SDK for SDK Setup.