delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/06/30/03:15:05

Message-ID: <001a01c22002$027af070$0100a8c0@p4>
From: "Andrew Cottrell" <acottrel AT ihug DOT com DOT au>
To: <djgpp-workers AT delorie DOT com>
Cc: "Andris Pavenis" <pavenis AT lanet DOT lv>
References: <003e01c21f34$5af855e0$0100a8c0 AT p4>
Subject: Re: GDB 5.2 build failure on a P4 (i786) & i768 query
Date: Sun, 30 Jun 2002 16:47:01 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Reply-To: djgpp-workers AT delorie DOT com

Andris,

> 2) Has anyone ported a later version of GDB that supports the i768 target?
>The BSD output was:
>checking for stdlib.h... (cached) yes
>*** BFD does not support target i786-pc-msdosdjgpp.
>*** Look in bfd/config.bfd for supported targets.
>Configure in c:/dj204/gnu/gdb-5.2/opcodes failed, exiting.
>The bfd/config.bfd supported x86 line in GDB 5.2 is:-
>i[3456]86)       targ_archs=bfd_i386_arch ;;

I downloaded the latest GDB snapshot today and checked to see if the 786
processor was supported and it wasn't. I modified the config.bfd &
targmatch.h files, but then hit the error below which has got me stumped and
I am not sure what I have done to get the cofigure stage to fail as I built
GDB 5.2 on my old Celleron PC earlier this month, but since then I have
upgraded to a P4 and copied the DJGPP directory structure over to the new PC
and have re-built all the other packages first go with teh exception of
groff  where I didn't delete a temporary file and once this was done it
built.

checking for getpagesize... (cached) yes
checking for working mmap... (cached) no
Setting compiler warning flags
= -Wimplicit -Wcomment -Wformat -Wparentheses -Wp
ointer-arith
checking compiler warning
flags...  -Wimplicit -Wcomment -Wformat -Wparentheses
-Wpointer-arith
checking for cygwin... no
checking for tgetent in -lncurses... (cached) no
checking for tgetent in -lHcurses... no
checking for tgetent in -ltermlib... no
checking for tgetent in -ltermcap... (cached) no
checking for tgetent in -lcurses... (cached) no
checking for tgetent in -lterminfo... no
configure: error: Could not find a term library
Configure in c:/dj204/gnu/gdb-5.2/gdb failed, exiting.

I have compared allot of the GDB directories between the GDB 5.2 on the
Celleron and the P4 and it looks like I have a problem with some
configuration file or
some other file that is used in the GDB configuration stage.

The broken GDB configure output is:-
Setting compiler warning flags
= -Wimplicit -Wcomment -Wformat -Wparentheses -Wpointer-arith
checking compiler warning
flags...  -Wimplicit -Wcomment -Wformat -Wparentheses -Wpointer-arith
checking for cygwin... no
checking for tgetent in -lncurses... (cached) no
checking for tgetent in -lHcurses... no
checking for tgetent in -ltermlib... no
checking for tgetent in -ltermcap... (cached) no
checking for tgetent in -lcurses... (cached) no
checking for tgetent in -lterminfo... no
configure: error: Could not find a term library
Configure in c:/dj204/gnu/gdb-5.2/gdb failed, exiting.

A snippit from the working GDB bfd\config.log file is:-
configure:4602: checking for dirent.h that defines DIR
configure:4640: checking for opendir in -ldir
configure:4725: checking for fcntl
configure:4725: checking for getpagesize

A snippit from the broken GDB bfd\config.log file is:-
configure:4602: checking for dirent.h that defines DIR
configure:4615: gcc -c -O2 -g  conftest.c 1>&5
configure:4640: checking for opendir in -ldir
configure:4659: gcc -o conftest.exe -O2 -g   conftest.c -ldir   1>&5
c:/dj204/bin/ld.exe: cannot find -ldir
collect2: ld returned 1 exit status
configure: failed program was:
#line 4648 "configure"
#include "confdefs.h"

This is the first differnce in the bfd\config.log file

Any ideas???

Regards,
Andrew

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019