diff options
author | Eli Zaretskii <eliz@gnu.org> | 2000-03-19 11:53:24 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2000-03-19 11:53:24 +0000 |
commit | ded59a1e28dc98f0198900bf4c08097f01eb7c6d (patch) | |
tree | 8bd70d416b475d817ac60e9f605475218dd8d3bf /gdb/config/djgpp/config.sed | |
parent | 615b480ff2f023441df3d2f5e7ccdd70a27dc608 (diff) | |
download | ppe42-binutils-ded59a1e28dc98f0198900bf4c08097f01eb7c6d.tar.gz ppe42-binutils-ded59a1e28dc98f0198900bf4c08097f01eb7c6d.zip |
Support for building GDB with DJGPP, and running the test suite on
it:
* config/djgpp/djconfig.sh: New file.
* config/djgpp/config.sed: New file.
* config/djgpp/README: New file.
* config/djgpp/fnchange.lst: New file.
* config/djgpp/djcheck.sh: New file.
Diffstat (limited to 'gdb/config/djgpp/config.sed')
-rw-r--r-- | gdb/config/djgpp/config.sed | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gdb/config/djgpp/config.sed b/gdb/config/djgpp/config.sed new file mode 100644 index 0000000000..e048cae287 --- /dev/null +++ b/gdb/config/djgpp/config.sed @@ -0,0 +1,30 @@ +s|po2tbl\.sed\.in|po2tblsed.in|g +s|gdb\.c++|gdb.cxx|g +/ac_rel_source/s|ln -s|cp -p| +s|\.gdbinit|gdb.ini|g + +/ac_given_INSTALL=/,/^CEOF/ { + /^s%@prefix@%/a\ + s,\\([yp*]\\)\\.tab,\\1_tab,g\ + /^ @rm -f/s,\\$@-\\[0-9\\]\\[0-9\\],&$*.i[1-9] $*[1-9][0-9],\ + s,\\.info\\*,.inf* *.i[1-9] *.i[1-9][0-9],\ + s,\\.gdbinit,gdb.ini,g\ + /TEXINPUTS=/s,:,';',g\ + /VPATH *=/s,:,;,g\ + /\\$\\$file-\\[0-9\\]/s,echo,& *.i[1-9] *.i[1-9][0-9],\ + s,config\\.h\\.in,config.h-in,g\ + s,po2tbl\\.sed\\.in,po2tblsed.in,g +} + +/^CONFIG_FILES=/,/^EOF/ { + s|po/Makefile.in\([^-:]\)|po/Makefile.in:po/Makefile.in-in\1| +} + +/^ *CONFIG_HEADERS=/,/^EOF/ { + s|config.h\([^-:]\)|config.h:config.h-in\1| +} + +/^[ ]*\/\*)/s,/\*,/*|[A-z]:/*, +/\$]\*) INSTALL=/s,\[/\$\]\*,&|[A-z]:/*, +/\$]\*) ac_rel_source=/s,\[/\$\]\*,&|[A-z]:/*, +/ac_file_inputs=/s,\( -e "s%\^%\$ac_given_srcdir/%"\)\( -e "s%:% $ac_given_srcdir/%g"\),\2\1, |