OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libiberty/] [configure.com] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 736 jeremybenn
$!
2
$! This file configures the libiberty library for use with openVMS.
3
$!
4
$! We do not use the configure script, since we do not have /bin/sh
5
$! to execute it.
6
$!
7
$! Written by Tristan Gingold (gingold@adacore.com)
8
$!
9
$!
10
$!
11
$ copy config.h-vms config.h
12
$!
13
$ write sys$output "Generate libiberty build.com"
14
$!
15
$ create build.com
16
$DECK
17
$ FILES="getopt,obstack,xexit,xmalloc,hex,getopt1,cplus-dem,cp-demangle,"+-
18
    "cp-demint,asprintf,vasprintf,mkstemps,concat,getruntime,getpagesize,"+-
19
    "getpwd,xstrerror,xmemdup,xstrdup,xatexit,choose-temp,fnmatch,objalloc,"+-
20
    "safe-ctype,hashtab,lbasename,argv,lrealpath,make-temp-file,"+-
21
    "stpcpy,unlink-if-ordinary"
22
$ OPT="/noopt/debug/warnings=disable=(missingreturn)"
23
$ CFLAGS=OPT + "/include=([],[-.include])/name=(as_is,shortened)" +-
24
 "/define=(HAVE_CONFIG_H=1)" +-
25
 "/prefix=(all,exc=(""getopt"",""optarg"",""optopt"",""optind"",""opterr""))"
26
$ write sys$output "CFLAGS=",CFLAGS
27
$ NUM = 0
28
$ LOOP:
29
$   F = F$ELEMENT(NUM,",",FILES)
30
$   IF F.EQS."," THEN GOTO END
31
$   write sys$output "Compiling ", F, ".c"
32
$   cc 'CFLAGS 'F.c
33
$   NUM = NUM + 1
34
$   GOTO LOOP
35
$ END:
36
$ purge
37
$ lib/create libiberty 'FILES
38
$EOD

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.