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.
This commit is contained in:
Chris Johns 2014-03-20 11:06:10 +11:00
parent 0f064bae7c
commit 9b1ae2170a
2 changed files with 25 additions and 1 deletions

View File

@ -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
~~~~~~

View File

@ -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.
#