mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-16 08:23:08 +00:00
Add missing package "glibc-devel.i686" required to build project in fedora. Change-Id: I1baf9a72b1ca2dbdd3aa65936875b43479779ed1 Signed-off-by: Javier B Perez Hernandez <javier.b.perez.hernandez@linux.intel.com>
67 lines
1.7 KiB
ReStructuredText
67 lines
1.7 KiB
ReStructuredText
.. _installing_zephyr:
|
|
|
|
Development Environment Setup
|
|
#############################
|
|
|
|
This section describes how to build the kernel in a development system
|
|
and how to access the project source code.
|
|
|
|
.. _linux_development_system:
|
|
|
|
Installing the Host's Operating System
|
|
======================================
|
|
|
|
Building the project's software components including the kernel has been tested
|
|
on Ubuntu and Fedora systems. Instructions for installing these OSes are beyond
|
|
the scope of this document.
|
|
|
|
Configuring Network and Proxies
|
|
===============================
|
|
|
|
Building the kernel requires the command-line tools of git, ssh, wget,
|
|
curl. Verify that each service can be run as both user and root and that access
|
|
to the Internet and is not impeded by a firewall.
|
|
|
|
Update Your Operating System
|
|
============================
|
|
|
|
Before proceeding with the build, ensure your OS is up to date. On Ubuntu:
|
|
|
|
.. code-block:: console
|
|
|
|
$ sudo apt-get update
|
|
|
|
On Fedora:
|
|
|
|
.. code-block:: console
|
|
|
|
$ sudo dnf update
|
|
|
|
.. _required_software:
|
|
|
|
Installing Requirements and Dependencies
|
|
========================================
|
|
|
|
Install the following with either apt-get or dnf.
|
|
|
|
.. note::
|
|
Minor version updates of the listed required packages might also
|
|
work.
|
|
|
|
Install the required packages in a Ubuntu host system with:
|
|
|
|
.. code-block:: console
|
|
|
|
$ sudo apt-get install git make gcc gcc-multilib g++ libc6-dev-i386 \
|
|
g++-multilib
|
|
|
|
Install the required packages in a Fedora host system with:
|
|
|
|
.. code-block:: console
|
|
|
|
$ sudo dnf group install "Development Tools"
|
|
$ sudo dnf install git make gcc glib-devel.i686 glib2-devel.i686 \
|
|
glibc-static libstdc++-static glibc-devel.i686
|
|
|
|
|