Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Include dir intl when building libcommon.a for gdb
@ 2011-03-01  6:22 Yao Qi
  2011-03-02 12:14 ` Joel Brobecker
  0 siblings, 1 reply; 11+ messages in thread
From: Yao Qi @ 2011-03-01  6:22 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 314 bytes --]

On 03/01/2011 01:46 PM, Yao Qi wrote:
> 1. Build failure on mingw32, reported by Pierre. See
> <http://sourceware.org/ml/gdb-patches/2011-02/msg00285.html>
> I'll give a patch to fix this.

This patch is to fix this problem above.  Cross build gdb for
i586-mingw32msvc.  Failure goes away.

-- 
Yao (齐尧)

[-- Attachment #2: build-gdb-mingw-intl-0301.patch --]
[-- Type: text/x-patch, Size: 1355 bytes --]

gdb/
	* common/Makefile.in: Inherit CC.
	* common/configure.ac (GDB_INCLUDE): Include dir intl.
	* common/configure: Regenerate.

diff --git a/gdb/common/Makefile.in b/gdb/common/Makefile.in
index 9230b87..23117a9 100644
--- a/gdb/common/Makefile.in
+++ b/gdb/common/Makefile.in
@@ -26,6 +26,7 @@ COMMON_CPU_OBJ = @COMMON_CPU_OBJ@
 # CFLAGS is specifically reserved for setting from the command line
 # when running make.  I.E.  "make CFLAGS=-Wmissing-prototypes".
 CFLAGS = @CFLAGS@
+CC = @CC@
 
 BFD_DIR = ../../bfd
 BFD_SRC = $(srcdir)/$(BFD_DIR)
diff --git a/gdb/common/configure b/gdb/common/configure
index 957dcc3..38b26ec 100755
--- a/gdb/common/configure
+++ b/gdb/common/configure
@@ -2966,7 +2966,7 @@ if test x"$enable_gdbserver" = xyes; then
   GDB_INCLUDE="-I\$(srcdir)/../gdbserver/"
 else
   GDB_FLAGS=""
-  GDB_INCLUDE="-I\$(srcdir)/../ -I\$(BFD_DIR)"
+  GDB_INCLUDE="-I\$(srcdir)/../ -I\$(BFD_DIR) -I../../intl/"
 fi
 
 
diff --git a/gdb/common/configure.ac b/gdb/common/configure.ac
index 1ef85fe..b31a3e9 100644
--- a/gdb/common/configure.ac
+++ b/gdb/common/configure.ac
@@ -63,7 +63,7 @@ if test x"$enable_gdbserver" = xyes; then
   GDB_INCLUDE="-I\$(srcdir)/../gdbserver/"
 else
   GDB_FLAGS=""
-  GDB_INCLUDE="-I\$(srcdir)/../ -I\$(BFD_DIR)"
+  GDB_INCLUDE="-I\$(srcdir)/../ -I\$(BFD_DIR) -I../../intl/"
 fi
 
 AC_SUBST(GDB_FLAGS)

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-03-04  5:55 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-01  6:22 Include dir intl when building libcommon.a for gdb Yao Qi
2011-03-02 12:14 ` Joel Brobecker
2011-03-02 12:34   ` Kai Tietz
2011-03-04  5:55     ` Joel Brobecker
2011-03-02 12:44   ` Pedro Alves
2011-03-04  5:46     ` Joel Brobecker
2011-03-02 13:12   ` Mark Kettenis
2011-03-02 14:46   ` Yao Qi
2011-03-02 15:32     ` Pedro Alves
2011-03-03  3:15       ` Yao Qi
2011-03-03  5:40         ` Yao Qi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox