summaryrefslogtreecommitdiff
path: root/gcc/make-l2.com
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-04-20 14:43:07 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-04-20 14:43:07 +0000
commit56b9545790ccc539e41be8c26f69143f60f07486 (patch)
tree57c78dd5f90da17a930448853b2b03b9209c3e97 /gcc/make-l2.com
parent8de93f7de5345140e67c5a24cf016e92c2538192 (diff)
downloadgcc-56b9545790ccc539e41be8c26f69143f60f07486.tar.gz
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@804 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/make-l2.com')
-rw-r--r--gcc/make-l2.com9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/make-l2.com b/gcc/make-l2.com
index 1853b0880e1..a4e45c6079a 100644
--- a/gcc/make-l2.com
+++ b/gcc/make-l2.com
@@ -2,8 +2,6 @@ $! Set the def dir to proper place for use in batch. Works for interactive too.
$flnm = f$enviroment("PROCEDURE") ! get current procedure name
$set default 'f$parse(flnm,,,"DEVICE")''f$parse(flnm,,,"DIRECTORY")'
$!
-$set symbol/scope=(nolocal,noglobal)
-$!
$! Command file to build libgcc2.olb. You should only run this once you
$! have the current compiler installed, otherwise some of the builtins will
$! not be recognized. Once you have built libgcc2.olb, you can merge this
@@ -28,6 +26,9 @@ $!
$gcc_as:=$gnu_cc:[000000]gcc-as
$cpp_file:=sys$scratch:gcc_'f$getjpi(0,"pid")'.cpp
$s_file:=sys$scratch:gcc_'f$getjpi(0,"pid")'.s
+$!
+$set symbol/scope=(nolocal,noglobal)
+$!
$goto compile
$!
$nocompile:
@@ -79,10 +80,10 @@ $! We do this by hand, since the VMS compiler driver does not have a way
$! of specifying an alternate location for the compiler executables.
$!
$ gcc_cpp "-I[]" "-I[.CONFIG]" "-D''p1'" LIBGCC2.C 'cpp_file'
-$ gcc_cc1 'cpp_file' -dumpbase LIBGCC2 -
+$ gcc_cc1 'cpp_file' -dumpbase 'objname' -
-quiet -mgnu -g "-O1" -mvaxc-alignment -o 's_file'
$ delete/nolog 'cpp_file';
-$ gcc_as 's_file' -o 'p1'.OBJ
+$ gcc_as 's_file' -o 'objname'.OBJ
$ delete/nolog 's_file';
$!
$lib libgcc2.olb 'objname'.obj