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

Message-ID: <006301c29b84$f771bd90$0100a8c0@p4>
From: "Andrew Cottrell" <acottrel AT ihug DOT com DOT au>
To: <djgpp-workers AT delorie DOT com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1021204081007 DOT 29445E-100000 AT is>
Subject: Re: GDB 5.3 branch cut out
Date: Wed, 4 Dec 2002 22:04:20 +1100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1123
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1123
Reply-To: djgpp-workers AT delorie DOT com

> The GDB maintainer has created a branch for the v5.3 release.  If someone
> has time to get that branch via anon CVS or by fetching the daily
> snapshot, please try to build the DJGPP port and see if there are any
> problems.

So far I have come accros the following two issues:-
1) GDB 5.2.9.1 still does not support i786 (Pentium 4) and as such you need
to add the following configure parameter in the gdb\config\djgpp\djconfig.sh
file:-
    target=i586-pc-msdosdjgpp
2) The build fails in the readline directory as follows. There were no code
changes in the readline directory between GDB 5.2.1 and 5.2.9.1, but it the
config,h was empty (had the header) after running the 5.2.9.1 configure
stage.
make.exe[1]: Entering directory `c:/dj204/gnu/gdb-5.291/readline'
rm -f readline.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -Ic:/dj204/include -DRL_LIBRARY_VERSION='"4
.1"'
rm -f vi_mode.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -Ic:/dj204/include -DRL_LIBRARY_VERSION='"4
.1"'
rm -f funmap.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -Ic:/dj204/include -DRL_LIBRARY_VERSION='"4
.1"'
rm -f keymaps.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -Ic:/dj204/include -DRL_LIBRARY_VERSION='"4
.1"'
rm -f parens.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -Ic:/dj204/include -DRL_LIBRARY_VERSION='"4
.1"'
rm -f search.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -Ic:/dj204/include -DRL_LIBRARY_VERSION='"4
.1"'
rm -f rltty.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -Ic:/dj204/include -DRL_LIBRARY_VERSION='"4
.1"'
In file included from rltty.c:44:
rltty.h:42:21: sgtty.h: No such file or directory (ENOENT)
rltty.c:161: field `sgttyb' has incomplete type
rltty.c:170: confused by earlier errors, bailing out
make.exe[1]: *** [rltty.o] Error 1
make.exe[1]: Leaving directory `c:/dj204/gnu/gdb-5.291/readline'
make.exe: *** [all-readline] Error 2

If I use the config.h from GDB 5.2.1 then the readline library is built and
I get a gdb.exe.

I don't have time to investigate this further or tun the testsuite until the
weekend.

Andrew



- Raw text -


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