This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB/Mingw make problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]