From: Yao Qi <yao@codesourcery.com>
To: gdb-patches@sourceware.org
Subject: Include dir intl when building libcommon.a for gdb
Date: Tue, 01 Mar 2011 06:22:00 -0000 [thread overview]
Message-ID: <4D6C90AC.9010003@codesourcery.com> (raw)
[-- 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)
next reply other threads:[~2011-03-01 6:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-01 6:22 Yao Qi [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D6C90AC.9010003@codesourcery.com \
--to=yao@codesourcery.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox