summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-03-20 11:06:10 +1100
committerChris Johns <chrisj@rtems.org>2014-03-20 11:06:10 +1100
commit9b1ae2170a10eb98b33c28b8be5d30b60a0a32d9 (patch)
treecd2f4ce2ea4b626243e6ae5dc1ad801858f90fd6
parentconfig: Do not build in trace support. (diff)
downloadrtems-source-builder-9b1ae2170a10eb98b33c28b8be5d30b60a0a32d9.tar.bz2
freebsd: Add support for FreeBSD 10.0.
GDB did not build out of the box on FreeBSD 10.0 due to the iconv move to libc effecting the gettext port with Python. The patch provided is from the gdb port (devel/gdb) and add the LDFLAGS to the link command line when Python is used and this adds /usr/local/lib if needed.
-rw-r--r--doc/source-builder.txt23
-rw-r--r--rtems/config/tools/rtems-gdb-7.6.2-1.cfg3
2 files changed, 25 insertions, 1 deletions
diff --git a/doc/source-builder.txt b/doc/source-builder.txt
index 6cfa02d..9d7a2b3 100644
--- a/doc/source-builder.txt
+++ b/doc/source-builder.txt
@@ -2545,7 +2545,28 @@ $ sudo apt-get build-dep binutils gcc g++ gdb unzip git
FreeBSD
~~~~~~~
-The RTEMS Source Builder has been tested on FreeBSD 9.1 64bit.
+The RTEMS Source Builder has been tested on FreeBSD 9.1 and 10.0 64bit. You
+need to install some ports. They are:
+
+-------------------------------------------------------------
+# cd /usr/ports
+# portinstall --batch lang/python27
+-------------------------------------------------------------
+
+If you wish to build Windows (mingw32) tools please install the following
+ports:
+
+-------------------------------------------------------------
+# cd /usr/ports
+# portinstall --batch devel/mingw32-binutils devel/mingw32-gcc
+# portinstall --batch devel/mingw32-zlib devel/mingw32-pthreads
+-------------------------------------------------------------
+
+The +zlip+ and +pthreads+ ports for MinGW32 are used for builiding a Windows
+QEMU.
+
+If you are on FreeBSD 10.0 and you have pkgng installed you can use 'pkg
+install' rather than 'portinstall'.
NetBSD
~~~~~~
diff --git a/rtems/config/tools/rtems-gdb-7.6.2-1.cfg b/rtems/config/tools/rtems-gdb-7.6.2-1.cfg
index 15a7022..7932c19 100644
--- a/rtems/config/tools/rtems-gdb-7.6.2-1.cfg
+++ b/rtems/config/tools/rtems-gdb-7.6.2-1.cfg
@@ -12,6 +12,9 @@
#
%include rtems-gdb-patches.cfg
+%define patch5 %{rtems_gdb_patches}/patch-gdb-python-python-config.py
+%define patch5_opts -p0
+
#
# The gdb build instructions. We use 7.xx Release 1.
#