This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB/Mingw make problem
- From: Bob Rossi <bob_rossi at cox dot net>
- To: gerritvn at gpvno dot co dot za, gpvno at telkomsa dot net
- Cc: Eli Zaretskii <eliz at gnu dot org>, gdb at sourceware dot org
- Date: Mon, 14 Jan 2008 11:44:21 -0500
- Subject: Re: GDB/Mingw make problem
- References: <u7iidqcgh.fsf@gnu.org> <478BAD00.17461.D7D9DF@gerritvn.gpvno.co.za>
On Mon, Jan 14, 2008 at 06:42:08PM +0200, Gerrit van Niekerk wrote:
> 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'
Install GNU gettext?
Bob Rossi