aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-08-21 06:26:49 +0000
committerRichard Stallman <rms@gnu.org>1992-08-21 06:26:49 +0000
commit98517ad1a6d0f2169c4551b917addc18f9a138a6 (patch)
tree29c735105e400adab20b63673538ba7e80151213 /gcc
parente0a5c5eb0ac20dfb9a0df30728f2bcd82fc17f31 (diff)
downloadgcc-98517ad1a6d0f2169c4551b917addc18f9a138a6.zip
gcc-98517ad1a6d0f2169c4551b917addc18f9a138a6.tar.gz
gcc-98517ad1a6d0f2169c4551b917addc18f9a138a6.tar.bz2
(CC,CFLAGS,LIBS): Add commented command variants for bootstrapping gcc-cpp and gcc-cc1 with VAXC.
(CC,CFLAGS,LIBS): Add commented command variants for bootstrapping gcc-cpp and gcc-cc1 with VAXC. (alloca): Build alloca.obj from alloca.c if LIBS needs it. From-SVN: r1923
Diffstat (limited to 'gcc')
-rw-r--r--gcc/make-cccp.com17
1 files changed, 12 insertions, 5 deletions
diff --git a/gcc/make-cccp.com b/gcc/make-cccp.com
index d0bfd81..c455b3a 100644
--- a/gcc/make-cccp.com
+++ b/gcc/make-cccp.com
@@ -4,18 +4,23 @@ $set default 'f$parse(flnm,,,"DEVICE")''f$parse(flnm,,,"DIRECTORY")'
$!
$! Build the GNU "C" pre-processor on VMS
$!
+$! Note: to build with DEC's VAX C compiler, uncomment the 2nd CC, CFLAGS,
+$! and LIBS alternatives, and also execute the following command:
+$! DEFINE SYS SYS$LIBRARY:
$
$!
$! C compiler
$!
$ CC := gcc
+$! CC := cc !uncomment for VAXC
$ BISON := bison
$ RENAME := rename
$ LINK := link
$!
$! Compiler options
$!
-$ CFLAGS = "/debug/inc=([],[.config])"
+$ CFLAGS = "/debug/incl=([],[.config])"
+$! CFLAGS = "/noopt/incl=([],[.config])" !uncomment for VAXC
$!
$! Link options
$!
@@ -23,7 +28,9 @@ $ LDFLAGS := /nomap
$!
$! Link libraries
$!
-$ LIBS := gnu_cc:[000000]gcclib/libr,sys$share:vaxcrtl/libr
+$ LIBS := gnu_cc:[000000]gcclib.olb/libr,sys$library:vaxcrtl.olb/libr
+$! LIBS := alloca.obj,sys$library:vaxcrtl.olb/libr !uncomment for VAXC
+$
$ if "''p1'" .eqs. "LINK" then goto Link
$ 'CC 'CFLAGS cccp.c
$ t1:='f$search("CEXP.C")'
@@ -38,14 +45,14 @@ $ bison cexp.y
$ rename cexp_tab.c cexp.c
$ 20$:
$!
+$ if f$locate("alloca.obj",f$edit(LIBS,"lowercase")).lt.f$length(LIBS) then -
+ 'CC 'CFLAGS /define="STACK_DIRECTION=(-1)" alloca.c
+$!
$ 'CC 'CFLAGS cexp.c
$ 'CC 'CFLAGS version.c
$ Link:
$ link 'LDFLAGS /exe=gcc-cpp cccp,cexp,version,version.opt/opt,'LIBS'
$!
-$! CAUTION: If you want to link gcc-cpp to the sharable image library
-$! VAXCRTL, see the notes in gcc.texinfo (or INSTALL) first.
-$!
$! Done
$!
$ exit