🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50787

Want to use BISON and FLEX on a VMS system. Need help with these and GCC

#50787
From: James D Dryfoos
Date: Wed, 25 Aug 1993 14:40
59 lines
3295 bytes
I am a Vax C user (never had gcc) and need to get some version of Lex
and YACC running ASAP.  I have tried a bunch of things and could not get
one working.  Most lately, I am trying to get BISON and FLEX.

My last attempt was to grab the gcc VMS savesets from 
mango.rsmas.miami.edu because I was told:


" I have never tried to compile BISON with VAX C. Even if you do
  manage to compile it, it would not link. There are references
  to 'alloca' (heap memory allocation on stack) which does not exist
  in VAXCRTL.EXE.

  Try mango.rsmas.miami.edu, they have an old version of GCC (2.2.2 or 2.2.3)
  in VMSINSAL compatible backup save sets, this kit includes a version of
  BISON. Look in directory /pub/VMS-gcc."

Anyway, after I loaded this I set things up.  Now trying to run Bison I get:

[SOFTWARE.GNU.BISON_0119]> bison BISON.SIMPLE
%CLI-F-SYNTAX, error parsing 'BISON$VERBOSE'
-CLI-E-ENTNF, specified entity not found in command tables
%TRACE-F-TRACEBACK, symbolic stack dump follows
module name     routine name                     line       rel PC    abs PC

                                                           7FF7A738  7FF7A738
                                                           7FF7A53E  7FF7A53E
                                                           7FF7A05F  7FF7A05F
                                                           000180C6  000180C6
VMSGETARGS      cli_present                       138      00000025  000056A3
VMSGETARGS      getargs                            55      0000002C  000054A2
MAIN            main                               49      0000002E  00002E2E

Ugh!  I pull the latest Bison (1.21) and compile it.  Then I get same problem.

Now I move to flex 2.3.8 but the descript.mss file needs to know where

GNULIB = <******directory where you keep alloca.obj and bcopy.obj***>

is.  I cannot find these (actually, I alloca.c in the bison root.  Do not
find bcopy.

I am completely lost and confused.

Can someone help?  Is there an easier way to get LEX and YACC on VMS to
use with Vax C?


 Jim

--
   =======================================================================
      James D. Dryfoos                  |  dryfo001@mc.duke.edu
      Duke University Medical Center    |  dryfo001@dukemc.bitnet
      2200 West Main Street             | 
      Suite 450 Room 36A                |  (919) 286-6391 - office
      Durham, NC 27710 Earth            |  (919) 286-6369 - fax
   =======================================================================
Technical Details
Message-ID: <19538@news.duke.edu>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!emory!news-feed-2.peachnet.edu!concert!duke!news.duke.edu!deneb.mc.duke.edu!dryfo001

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,f483c4417b3d0aab,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-08-25 08:25:27 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!emory!news-feed-2.peachnet.edu!concert!duke!news.duke.edu!deneb.mc.duke.edu!dryfo001
From: dryfo001@deneb.mc.duke.edu (James D Dryfoos)
Newsgroups: gnu.gcc.help
Subject: Want to use BISON and FLEX on a VMS system.  Need help with these and GCC
Message-ID: <19538@news.duke.edu>
Date: 25 Aug 93 14:40:10 GMT
Sender: news@news.duke.edu
Reply-To: dryfo001@deneb.mc.duke.edu
Organization: Duke University Medical Center
Lines: 59
Nntp-Posting-Host: deneb.mc.duke.edu