Date: Sun, 05 Jan 2003 06:32:54 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Andrew Cottrell" Message-Id: <3791-Sun05Jan2003063253+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: rich AT phekda DOT freeserve DOT co DOT uk, djgpp-workers AT delorie DOT com In-reply-to: <004c01c2b452$54044880$0100a8c0@acp42g> (acottrel@ihug.com.au) Subject: Re: GDB 5.3 build query/problem & solution References: <200212291526 DOT gBTFQJU25879 AT delorie DOT com> <004c01c2b452$54044880$0100a8c0 AT acp42g> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Andrew Cottrell" > Date: Sun, 5 Jan 2003 11:17:44 +1100 > > 1) The makefile in the readline directory had hardcoded directory > references, they were:- > BUILD_DIR = c:/temp/distmake/gdb53s/gnu/gdb-5.3/readline > > When this was changed to the gdb makefile worked correctly: > BUILD_DIR = /dev/env/DJDIR/gnu/gdb-5.3/readline > > I had a look at the GDB 5.2.1 readline\makefile and it also has a hardcoded > directory BUILD_DIR so the problem looks like it's in the configure stage. > Teo options here as far as I can see, 1) Fix configure, 2) Modify the readme > to indicate that you will need to manually modify the readline/makefile if > you do not perform the configure stage. When I produced the GDB distro, I manually edited the generated Makefile's to replace the path to build directory with /dev/env/DJDIR/gnu/gdb-. I don't see any easy way to do that automatically, since the configuration scripts are specifically made to hard-wire the directories into the Makefile's. > 1) I ran 'make info' as I have done with 5.x.x and it produced the docs, but > I couldn't see any output info files being produced. I deleted the > gdb\doc\gdb.info file and ran 'make info' again and thegot the following > info files: > gdb.info, gdb.info-1 .... gdb.info-15 > Any ideas on why I got 16 files instead of the one as was in the > source/binary package? Probably because whoever prepared the source distribution ran makeinfo with the --no-split option. Make only looks at the existance of the *.info files, it doesn't care about *.info-NN files. The original GNU source distribution of GDB does have the 16 files you produced, not the single gdb.info, though. Note that having *.info-NN files is bad for the 8+3 filesystems, you need *.iNN files instead.