home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!EQL.CALTECH.EDU!rankin
- From: rankin@EQL.CALTECH.EDU (Pat Rankin)
- Newsgroups: comp.os.vms
- Subject: Re: GNU CC probs with VMS 5.5
- Message-ID: <920911193140.260058f0@EQL.Caltech.Edu>
- Date: 12 Sep 92 02:32:58 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: world
- Organization: The Internet
- Lines: 60
-
- > I am having some difficulties installing GNU C for VMS (GCC-VMS-1.40d).
- > My configuration is comprised of a MicroVAX 3100 running VMS 5.5. Has
- > anyone else out there been able to get this running under 5.5?
-
- Running it under V5.5 is the same as running it under any other
- version of VMS. It works. There are several bugs here and there, but
- nothing this fundamental.
-
- > My installation steps were as follows:
- > 1) FTP gcc-vms-1.40d.tar.Z from prep.mit.edu.
-
- Be sure to transfer in binary mode.
-
- > 2) Download to local Mac.
- > 3) Uncompress and extract from tar using mac tools.
- > 4) Copy directory hierarchy onto the VAX.
-
- Your problem is almost certainly traceable to one of these 3 steps.
- If you unpack it on your VMS system, you shouldn't encounter any trouble.
-
- > 4) Define GNU_CC and GNU_CC_INCLUDE logicals using ASSIGN/SUPER/SYS.
- > 5) Install the GCC command using SET COMMAND.
- > 6) Run GCC with test file.
- >
- > The current problems:
- > 1) When running GCC, a number of images are loaded. In particular, GCC
- > wants SYS$LIBRARY:SMGSHR_00.EXE, MTHRTL_00.EXE, LIBRTL_00.EXE, FORRTL_00.EXE.
-
- Looks like the executable(s) got corrupted (those Macintosh steps...).
- GCC.EXE is just a front-end which parses the command line using DCL
- callbacks, then invokes GCC.COM; it isn't directly part of the compiler
- at all. That command procedure then executes the various pieces of the
- compiler.
-
- > Are these the right files, or am I missing some images with _00 suffixes?
-
- Neither. What does ANALYZE/IMAGE show you? The shareable image list
- comes out near the very end.
-
- > 2) When running the gcc_install script, the GCC precompiler is called to
- > get the current version level. This call fails with the following error:
- >
- > %DCL-W-ACTIMAGE, error activating image GNU_CC:[000000]GCC-CPP
- > -CLI-E-IMGNAME, image file SBS$DKB0:[COMMON.GCCDIST.GCC.][000000]GCC-CPP.EXE;1
- > -SYSTEM-F-VA_IN_USE, virtual address already in use
- >
- > The last error is not documented in my copy of the System Messages docs.
- > It is new with V 5.5? What does it mean?
-
- It's not new, and I think that there's an article available from DEC's
- DSIN and/or DSNlink about it which suggests that having too many process
- logical names defined can cause this. We've seen it here--prior to V5.5;
- only one or two users, who really did define many more logical names than
- anyone else--and usually a second attempt at executing the same command
- would succeed. It's certainly not specific to GCC (the most common culprit
- here was the SHOW utility). I don't remember whether using SYSGEN to
- increase CTLPAGES makes any difference though.
-
- Pat Rankin, rankin@eql.caltech.edu
-
-