This is the mail archive of the gdb@sources.redhat.com 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]

build under linux and for host mingw


Hi,

I downloaded gdb-6.3 and try to build a cross debugger for host mingw
and build it on the Linux:

--host = i386-mingw32
--target = mips
--build = i386-redhat-linux

I got the following error messages from config.log:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:595: checking host system type
configure:616: checking target system type
configure:634: checking build system type
configure:689: checking for a BSD compatible install
configure:742: checking whether ln works
configure:766: checking whether ln -s works
configure:2033: checking for i386-mingw32-gnatbind
configure:2065: checking for gnatbind
configure:2098: checking whether compiler driver understands Ada
configure:2131: checking how to compare bootstrapped objects
configure:2229: checking for correct version of gmp.h
configure:2242: i386-mingw32-gcc -c -g -O2   conftest.c 1>&5
configure:2232:17: gmp.h: No such file or directory
configure: In function `main':
configure:2236: `choke' undeclared (first use in this function)
configure:2236: (Each undeclared identifier is reported only once
configure:2236: for each function it appears in.)
configure:2236: parse error before "me"
configure: failed program was:
#line 2231 "configure"
#include "confdefs.h"
#include "gmp.h"
int main() {

#if __GNU_MP_VERSION < 3
choke me
#endif

; return 0; }

Could anyone be kind to tell me what to do?

Thanks!

Julie







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