Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
bc9cc286
Commit
bc9cc286
authored
May 15, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Construct options.h and specs.h to #include all
"*/lang-{options|specs}.h" files found. From-SVN: r9686
parent
b10ed555
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
3 deletions
+32
-3
gcc/vmsconfig.com
+32
-3
No files found.
gcc/vmsconfig.com
View file @
bc9cc286
...
@@ -6,6 +6,7 @@ $flnm = f$enviroment("PROCEDURE") ! get current procedure name
...
@@ -6,6 +6,7 @@ $flnm = f$enviroment("PROCEDURE") ! get current procedure name
$set default 'f$parse(flnm,,,"DEVICE")''f$parse(flnm,,,"DIRECTORY")'
$set default 'f$parse(flnm,,,"DEVICE")''f$parse(flnm,,,"DIRECTORY")'
$ !
$ !
$set symbol/scope=(nolocal,noglobal)
$set symbol/scope=(nolocal,noglobal)
$if f$trnlnm("IFILE$").nes."" then close/noLog ifile$
$ !
$ !
$ echo = "write sys$output"
$ echo = "write sys$output"
$ !
$ !
...
@@ -61,6 +62,10 @@ $ if f$search("config-vax.h") .nes. "" then delete config-vax.h;*
...
@@ -61,6 +62,10 @@ $ if f$search("config-vax.h") .nes. "" then delete config-vax.h;*
$ copy [.config.vax]vax.h []config-vax.h
$ copy [.config.vax]vax.h []config-vax.h
$ echo "Linked `config-vax.h' to `[.config.vax]vax.h' for `tm.h'."
$ echo "Linked `config-vax.h' to `[.config.vax]vax.h' for `tm.h'."
$ !
$ !
$ call make_lang_incl "options.h"
$ !
$ call make_lang_incl "specs.h"
$ !
$ if f$search("md.") .nes. "" then delete md..*
$ if f$search("md.") .nes. "" then delete md..*
$ copy [.config.vax]vax.md []md.
$ copy [.config.vax]vax.md []md.
$ echo "Linked `md' to `[.config.vax]vax.md'.
$ echo "Linked `md' to `[.config.vax]vax.md'.
...
@@ -396,8 +401,32 @@ $!
...
@@ -396,8 +401,32 @@ $!
$!
$!
$!
$!
$ if f$search("config.status") .nes. "" then delete config.status.*
$ if f$search("config.status") .nes. "" then delete config.status.*
$ open/write file config.status
$ create config.status
$ write file "Links are now set up for use with a vax running VMS."
Links are now set up for use with a vax running VMS.
$ close file
$ type config.status
$ type config.status
$ echo ""
$ echo ""
$!
$ exit
$
$!
$! Constuct a header file based on subdirectory contents
$!
$make_lang_incl: subroutine
$ if f$search(p1).nes."" then delete 'p1';*
$ create 'p1' !empty file with ordinary text-file attributes
$ open/Append ifile$ 'p1'
$ write ifile$ "/* ''p1' */"
$ hfile = f$search("[]''p1'")
$ topdir = f$parse(hfile,,,"DIRECTORY") - "]"
$lang_incl_loop:
$ hfile = f$search("[.*]lang-''p1'")
$ if hfile.eqs."" then goto lang_incl_done
$ dir = f$parse(hfile,,,"DIRECTORY") - "]"
$! convert absolute path to relative one, yielding "[.subdir]"
$ dir = "[" + f$edit(dir - topdir,"LOWERCASE") + "]"
$ write ifile$ "#include ""''dir'lang-''p1'"""
$ goto lang_incl_loop
$lang_incl_done:
$ close ifile$
$ echo "Created `''p1''."
$ endsubroutine !make_lang_incl
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment