This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[merge] build-libiberty patch merged from gcc
- From: DJ Delorie <dj at redhat dot com>
- To: binutils at sources dot redhat dot com, gdb-patches at sources dot redhat dot com, cygwin at sources dot redhat dot com, newlib at sources dot redhat dot com
- Date: Wed, 28 Nov 2001 15:01:28 -0500
- Subject: [merge] build-libiberty patch merged from gcc
I merged the top-level and libiberty parts of this patch from gcc:
http://gcc.gnu.org/ml/gcc-patches/2001-11/msg01611.html
If you configure a build where build!=host, you will now see a
top-level build directory named after the build system, with a
libiberty build in it. This libiberty is suitable for programs which
must run on the build machine. To add support for this to your
project, there are two options. The above patch demonstrates how to
detect the build!=host case with configure. This older patch
demonstrates how to do it with just a Makefile change:
http://gcc.gnu.org/ml/gcc-patches/2001-07/msg00608.html
If you encounter any problems with the build-libiberty changes, please
let me know.
Thanks,
DJ