diff options
author | Stan Shebs <shebs@codesourcery.com> | 1994-01-04 21:14:04 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1994-01-04 21:14:04 +0000 |
commit | ea838f998abb3976fee8294dc34a1fa3c19338f4 (patch) | |
tree | ee451af058fcabc3cc2bda234f1ba7668f3e2898 /gas/mpw-config.in | |
parent | de9425a8db21c25d3bb1c409faa2ede6f4e3aa9e (diff) | |
download | gdb-ea838f998abb3976fee8294dc34a1fa3c19338f4.zip gdb-ea838f998abb3976fee8294dc34a1fa3c19338f4.tar.gz gdb-ea838f998abb3976fee8294dc34a1fa3c19338f4.tar.bz2 |
Mon Jan 3 10:47:37 1994 Stan Shebs (shebs@andros.cygnus.com)
* config.sub: Add MPW-related aliases.
* mpw-configure: New file, MPW version of configure.
* mpw-config.in: New file, MPW version of configure.in.
* mpw-xconfig.in: New file, addon to configure.in.
Mon Jan 3 12:42:45 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-xconfig.in: New file, mpw x mips configuration bits.
Diffstat (limited to 'gas/mpw-config.in')
-rw-r--r-- | gas/mpw-config.in | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gas/mpw-config.in b/gas/mpw-config.in new file mode 100644 index 0000000..d598d17 --- /dev/null +++ b/gas/mpw-config.in @@ -0,0 +1,18 @@ +# Configuration fragment for GAS. + +DupIfChange {srcdir}config:ho-mpw.h host.h + +echo '/* empty */' >'sys/file.h' +echo '/* empty */' >'sys/resource.h' +echo '/* empty */' >'sys/stat.h' +echo '#include <time.h>' >'sys/time.h' +echo '#include <types.h>' >'sys/types.h' + +Echo "#ifndef __va_list__" >varargs.h +Echo "#define __va_list__" >>varargs.h +Echo "typedef char *va_list;" >>varargs.h +Echo "#endif" >>varargs.h +Echo "#define va_dcl int va_alist;" >>varargs.h +Echo "#define va_start(list) list = (char *) &va_alist" >>varargs.h +Echo "#define va_end(list)" >>varargs.h +Echo "#define va_arg(list,mode) ((mode *)(list += sizeof(mode)))[-1]" >>varargs.h |