From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9929 invoked by alias); 1 Mar 2011 06:22:47 -0000 Received: (qmail 9920 invoked by uid 22791); 1 Mar 2011 06:22:46 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,SARE_SUB_RAND_LETTRS4,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 01 Mar 2011 06:22:42 +0000 Received: (qmail 1255 invoked from network); 1 Mar 2011 06:22:40 -0000 Received: from unknown (HELO ?192.168.0.101?) (yao@127.0.0.2) by mail.codesourcery.com with ESMTPA; 1 Mar 2011 06:22:40 -0000 Message-ID: <4D6C90AC.9010003@codesourcery.com> Date: Tue, 01 Mar 2011 06:22:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: gdb-patches@sourceware.org Subject: Include dir intl when building libcommon.a for gdb Content-Type: multipart/mixed; boundary="------------040009060703070902000902" X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-03/txt/msg00019.txt.bz2 This is a multi-part message in MIME format. --------------040009060703070902000902 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-length: 308 On 03/01/2011 01:46 PM, Yao Qi wrote: > 1. Build failure on mingw32, reported by Pierre. See > > 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 (齐尧) --------------040009060703070902000902 Content-Type: text/x-patch; name="build-gdb-mingw-intl-0301.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="build-gdb-mingw-intl-0301.patch" Content-length: 1355 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) --------------040009060703070902000902--