summaryrefslogtreecommitdiffstats
path: root/user/hosts/posix.rst
diff options
context:
space:
mode:
Diffstat (limited to 'user/hosts/posix.rst')
-rw-r--r--user/hosts/posix.rst36
1 files changed, 27 insertions, 9 deletions
diff --git a/user/hosts/posix.rst b/user/hosts/posix.rst
index 6686fc9..d79e183 100644
--- a/user/hosts/posix.rst
+++ b/user/hosts/posix.rst
@@ -74,7 +74,7 @@ provide a manual override:
CentOS
~~~~~~
-The following packages are required on a minimal CentOS 6.3 or Cent)S 7
+The following packages are required on a minimal CentOS 6.3 or CentOS 7
64-bit installation:
.. code-block:: none
@@ -137,23 +137,23 @@ prefix under your home directory as recommended and end up on the SD card.
Ubuntu
~~~~~~
-The latest version is Ubuntu 18.04.1 LTS 64-bit. This section also includes
+The latest version is Ubuntu 22.04 LTS 64-bit. This section also includes
Xubuntu. A minimal installation was used and the following packages installed:
.. code-block:: none
- $ sudo apt-get build-dep build-essential gcc-defaults g++ gdb git \
- unzip pax bison flex texinfo unzip python3-dev libpython-dev \
- libncurses5-dev zlib1g-dev
+ $ sudo apt install build-essential g++ gdb unzip pax bison flex texinfo \
+ python3-dev python-is-python3 libpython2-dev libncurses5-dev zlib1g-dev \
+ ninja-build pkg-config
-Note that in previous versions of Ubuntu, the package libpython-dev was
+Note that in older versions of Ubuntu, the package libpython2-dev was
python2.7-dev. The name of packages changes over time. You need the
package with Python development libraries for C/C++ programs. The following
is needed for recent versions:
.. code-block:: none
- $ sudo apt-get install python-dev
+ $ sudo apt-get install python git
It is likely necessary that you will have to enable the Ubuntu Source
Repositories. Users have suggested the following web pages which have
@@ -179,8 +179,19 @@ than the usual zlib-dev):
openSUSE
~~~~~~~~
-This has been reported to work but no instructions were provided. This is an
-opportunity to contribute. Please submit any guidance you can provide.
+The RTEMS Source Builder has been tested on openSUSE Leap 15.4 64bit.
+Starting with a clean install with source repositories enabled, the following
+zypper command installs the required packages:
+
+.. code-block:: none
+
+ # sudo zypper in -t pattern devel_C_C++ devel_python3
+
+In addition, the following command can set python3 as the default python interpreter:
+
+.. code-block:: none
+
+ # sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1
.. _FreeBSD:
@@ -195,6 +206,13 @@ The RTEMS Source Builder has been tested on FreeBSD 9.1, 10.3, 11 and
# pkg install -y python
# pkg install -y gsed
+For FreeBSD 13, you will need to install the packages listed above, as well as
+the following additional ones. They are:
+
+.. code-block:: none
+
+ # pkg install -y bison texinfo gmake binutils
+
FreeBSD's default C compiler is LLVM and installing the host's GCC compiler
package may break building GCC. We recommend you do not install the GCC
package and you use the default C compiler.