Usenet comp.sys.vms (1990-2004)
 help / color / mirror / Atom feed
From: zeeb@jacare.enet.dec.com ()
Subject: Re: Help with BISON/FLEX
Date: 16 May 1994 14:10:11 GMT	[thread overview]
Message-ID: <2r7us3$bnl@jac.zko.dec.com> (raw)
In-Reply-To: ghartzogCptE50.FD2@netcom.com


In article <ghartzogCptE50.FD2@netcom.com>, ghartzog@netcom.com (Greg Hartzog) 
writes:

>I got the source code from gatekeeper.dec.com and seems to be fine.  In 
>building BISON I have two problems.  First, I can not get the macro assembler
>to work on the file VMSHLP.MAC.  I have tried both MACRO and 
>MACRO/MIGRATION/ENABLE=GLOBAL.  Neither will build the VMSHLP file without
>errors.  (VMSHLP has ALLOCA and BCOPY assembler source in it).  

Note that DEC C for OpenVMS AXP has alloca() as a builtin function, so
you don't need the macro version.  Also, it would be simpler to define
a macro for bcopy something like:

  #define bcopy(src,dest,len)  memcpy(dest,src,len)

If you include string.h, then the builtin function form of memcpy can also
be used.

>Also, the linker can not find the symbol _IOTABLE anywhere in its stuff.  I 
>have included VAXCRTL in the link options with no success.  Does anyone know
>what the routine _IOTABLE does and where it lives?

I'm not familiar with _IOTABLE, but you shouldn't be including VAXCRTL in
your link on an AXP system.  There, you should be using the DEC C RTL,
which is in STARLET and is automatically searched by the linker.

--
Jeff Zeeb                  This article represents my opinions and not those
zeeb@tle.enet.dec.com      of Digital Equipment Corp. (Surprise!)


      reply	other threads:[~1994-05-16 14:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-05-14 22:50 Help with BISON/FLEX Greg Hartzog
1994-05-16 14:10 ` zeeb [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox