From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8510 invoked by alias); 14 Jan 2008 16:42:41 -0000 Received: (qmail 8502 invoked by uid 22791); 14 Jan 2008 16:42:41 -0000 X-Spam-Check-By: sourceware.org Received: from ctb-mesg8.saix.net (HELO ctb-mesg8.saix.net) (196.25.240.78) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 14 Jan 2008 16:42:14 +0000 Received: from [192.168.0.8] (dsl-242-6-244.telkomadsl.co.za [41.242.6.244]) by ctb-mesg8.saix.net (Postfix) with ESMTP id 5734031F4; Mon, 14 Jan 2008 18:42:11 +0200 (SAST) From: "Gerrit van Niekerk" To: Eli Zaretskii Date: Mon, 14 Jan 2008 16:42:00 -0000 MIME-Version: 1.0 Subject: Re: GDB/Mingw make problem Reply-to: gerritvn@gpvno.co.za,gpvno@telkomsa.net CC: gdb@sourceware.org Message-ID: <478BAD00.17461.D7D9DF@gerritvn.gpvno.co.za> In-reply-to: References: <478A8022.18277.6CAB521@gerritvn.gpvno.co.za>, <478A9781.31068.7269E5D@gerritvn.gpvno.co.za>, X-mailer: Pegasus Mail for Windows (4.41) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-01/txt/msg00098.txt.bz2 On 14 Jan 2008 at 6:05, Eli Zaretskii wrote: > Well, you didn't say anything about MSYS before. Sorry, I thought MinGW implied MSYS :) > I believe there's an MSYS version of Sed as well, check out the MinGW > site. Could not locate it, so I decided that Cygwin is probably a better platform and it got further as well, but got a problem compiling bfd/archive.c with a missing libintl.h. To recap: I made a directory CYGWIN in C:\develop\gdb-6.7.1 and in the Cygwin Bash shell executed: $ cd /cygdrive/c/develop/gdb-6.7.1/cygwin $ ../configure --host=i686-pc-mingw32 --target=djgpp . . $ make . . make[4]: Entering directory `/cygdrive/c/develop/gdb-6.7.1/cygwin/bfd' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../bfd -I . -D__USE_MINGW_FSEEK -I. -I../../bfd -I../../bfd/../include -I./../intl - W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c -o archive.lo ../../bfd/archive.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../bfd -I. -D__USE_MINGW_FSEEK - I. -I../../bfd -I../../bfd/../include -I./../intl -W -Wall -Wstrict-prototypes - Wmissing-prototypes -Werror -g -O2 -c ../../bfd/archive.c -o archive.o In file included from ../../bfd/archive.c:132: ../../bfd/sysdep.h:173:21: libintl.h: No such file or directory ../../bfd/archive.c: In function `_bfd_write_archive_contents': ../../bfd/archive.c:1766: warning: implicit declaration of function `dgettext' make[4]: *** [archive.lo] Error 1 make[4]: Leaving directory `/cygdrive/c/develop/gdb-6.7.1/cygwin/bfd' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/cygdrive/c/develop/gdb-6.7.1/cygwin/bfd' make[2]: *** [all] Error 2 make[2]: Leaving directory `/cygdrive/c/develop/gdb-6.7.1/cygwin/bfd' make[1]: *** [all-bfd] Error 2 make[1]: Leaving directory `/cygdrive/c/develop/gdb-6.7.1/cygwin' make: *** [all] Error 2