Mail Archives: djgpp-workers/2003/01/04/23:35:54
> From: "Andrew Cottrell" <acottrel AT ihug DOT com DOT au>
> 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-<VERSION>.
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.
- Raw text -