diff options
author | Ben Cheng <bccheng@google.com> | 2013-04-09 11:29:01 -0700 |
---|---|---|
committer | Ben Cheng <bccheng@google.com> | 2013-04-09 11:29:01 -0700 |
commit | f226517827d64cc8f9dccb0952731601ac13ef2a (patch) | |
tree | 84b1056255b318a87b7a47b2684655660cab66f0 /binutils-2.23/libiberty/configure.com | |
parent | 30fe22e2cc89991b16ab3853f95c7319574456ce (diff) | |
download | toolchain_binutils-f226517827d64cc8f9dccb0952731601ac13ef2a.tar.gz toolchain_binutils-f226517827d64cc8f9dccb0952731601ac13ef2a.tar.bz2 toolchain_binutils-f226517827d64cc8f9dccb0952731601ac13ef2a.zip |
Initial checkin for binutils 2.23.2 (needed by aarch64)
Change-Id: I7e5f319e9e632cc0ccc8a4ec1051169ed2849ca4
Diffstat (limited to 'binutils-2.23/libiberty/configure.com')
-rw-r--r-- | binutils-2.23/libiberty/configure.com | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/binutils-2.23/libiberty/configure.com b/binutils-2.23/libiberty/configure.com new file mode 100644 index 00000000..03018291 --- /dev/null +++ b/binutils-2.23/libiberty/configure.com @@ -0,0 +1,38 @@ +$! +$! This file configures the libiberty library for use with openVMS. +$! +$! We do not use the configure script, since we do not have /bin/sh +$! to execute it. +$! +$! Written by Tristan Gingold (gingold@adacore.com) +$! +$! +$! +$ copy config.h-vms config.h +$! +$ write sys$output "Generate libiberty build.com" +$! +$ create build.com +$DECK +$ FILES="getopt,obstack,xexit,xmalloc,hex,getopt1,cplus-dem,cp-demangle,"+- + "cp-demint,asprintf,vasprintf,mkstemps,concat,getruntime,getpagesize,"+- + "getpwd,xstrerror,xmemdup,xstrdup,xatexit,choose-temp,fnmatch,objalloc,"+- + "safe-ctype,hashtab,lbasename,argv,lrealpath,make-temp-file,"+- + "stpcpy,unlink-if-ordinary" +$ OPT="/noopt/debug/warnings=disable=(missingreturn)" +$ CFLAGS=OPT + "/include=([],[-.include])/name=(as_is,shortened)" +- + "/define=(HAVE_CONFIG_H=1)" +- + "/prefix=(all,exc=(""getopt"",""optarg"",""optopt"",""optind"",""opterr""))" +$ write sys$output "CFLAGS=",CFLAGS +$ NUM = 0 +$ LOOP: +$ F = F$ELEMENT(NUM,",",FILES) +$ IF F.EQS."," THEN GOTO END +$ write sys$output "Compiling ", F, ".c" +$ cc 'CFLAGS 'F.c +$ NUM = NUM + 1 +$ GOTO LOOP +$ END: +$ purge +$ lib/create libiberty 'FILES +$EOD |