[RFC] add regenerate Makefile target
Tom Tromey
tom@tromey.com
Fri Mar 15 14:25:12 GMT 2024
>>>>> "Eric" == Eric Gallager <egall@gwmail.gwu.edu> writes:
Eric> Also there are the files generated by cgen, too, which no one seems to
Eric> know how to regenerate, either.
I thought I sent out some info on this a while ago.
Anyway what I do is make a symlink to the cgen source tree in the
binutils-gdb source tree, then configure with --enable-cgen-maint.
Then I make sure to build with 'make GUILE=guile3.0'.
It could be better but that would require someone to actually work on
cgen.
Eric> And then in bfd there's that chew
Eric> program in the doc subdir. And then in the binutils subdirectory
Eric> proper there's that sysinfo tool for generating sysroff.[ch].
gdb used to use a mish-mash of different approaches, some quite strange,
but over the last few years we standardized on Python scripts that
generate files. They're written to be seamless -- just invoke in the
source dir; the output is then just part of your patch. No special
configure options are needed. On the whole this has been a big
improvement.
Tom
More information about the Gdb
mailing list