From: Earnie B. <ear...@ya...> - 2002-08-11 13:01:17
|
> Piyush Deva wrote: > > I am pretty new to gcc and the rest of the tools. > > I just downloaded the gdb 5.2.1 source. > > I got MSYS 1.0.8, MinGW 1.1(with gcc 2.95.3-6), Bison 1.24, Flex > 2.5.2 on my system. > > But when i use the configure command on my system, i says it cannot > find a LOT of header files and finally gives an error at the end. Not finding a particular header is typical for configure. It's the job of configure to find what the system has or doesn't have. > A sample- > > checking for sys/procfs.h... no > checking for sys/ptrace.h... no > checking for sys/reg.h... no > checking for bcopy... no > checking for btowc... no > checking for bzero... no > > checking for tgetent in -lncurses... no > checking for tgetent in -lHcurses... no > checking for tgetent in -ltermlib... no > checking for tgetent in -ltermcap... no > checking for tgetent in -lcurses... no > checking for tgetent in -lterminfo... no > configure: error: Could not find a term library So, what you need is a MinGW version of a curses library. I forget if the termcap builds native OOB or not. However, you should be able to search for a curses win32 port. IIRC, the pdcurses package has a native binary download. This part of configure did it's job well. The process stopped because the build would not know how to call the appropriate functions. > So how am i suppoeses to build gdb? And where do i get the missing > header files from? > 1) Get a curses library. 2) The missing headers up to this point shouldn't be a problem. Remember GDB is a POSIX package and unless the various porters have uploaded their patches to the maintainer for inclusion then you'll have to find the patches and/or port it again. Earnie. |