From 7fab12c679f46863ecde3c98ed34068de9c57922 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Mon, 27 Apr 2020 10:03:13 +1000 Subject: freebsd: Update to reflect the current release 12 requirements Closes #3960 --- user/hosts/posix.rst | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/user/hosts/posix.rst b/user/hosts/posix.rst index d89d1a2..6686fc9 100644 --- a/user/hosts/posix.rst +++ b/user/hosts/posix.rst @@ -188,36 +188,37 @@ FreeBSD ------- The RTEMS Source Builder has been tested on FreeBSD 9.1, 10.3, 11 and -12 64bit version. You need to install some ports. They are: +12 64bit versions. You need to install some ports. They are: .. code-block:: none - # cd /usr/ports - # portinstall --batch lang/python27 + # pkg install -y python + # pkg install -y gsed + +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. If you wish to build Windows (mingw32) tools please install the following ports: .. code-block:: none - # cd /usr/ports - # portinstall --batch devel/mingw32-binutils devel/mingw32-gcc - # portinstall --batch devel/mingw32-zlib devel/mingw32-pthreads + # pkg install -y mingw32-binutils mingw32-gcc + # pkg install -y mingw32-zlib mingw32-pthreads -The +zlip+ and +pthreads+ ports for MinGW32 are used for builiding a Windows +The *zlip* and *pthreads* ports for MinGW32 are used when builiding a Windows QEMU. -If you are on FreeBSD 10.0 and you have pkgng installed you can use 'pkg -install' rather than 'portinstall'. - -We recommend you run as root the following command to speed up Python -3's subprocess support: +Check if your kernel has a ``/dev/fd`` directory. If it does not we recommend +you run as root the following command to speed up Python 3's subprocess +support: .. code-block:: none # mount -t fdescfs none /dev/fd -This speeds up closing file descriptors when creating subprocesses. +The support speeds up closing file descriptors when creating subprocesses. .. _NetBSD: -- cgit v1.2.3