This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB/Mingw make problem
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