Usenet comp.sys.vms (1990-2004)
 help / color / mirror / Atom feed
* Help with BISON/FLEX
@ 1994-05-14 22:50 Greg Hartzog
  1994-05-16 14:10 ` zeeb
  0 siblings, 1 reply; 2+ messages in thread
From: Greg Hartzog @ 1994-05-14 22:50 UTC (permalink / raw)


Hello folks, I need some help.  I am the sys admin in a all RS6K shop and
when have recently take in an Alpha with OpenVMS 1.5.  I am trying to get
BISON and FLEX to build for the Alpha and having very little success.

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).  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?

Flex I have not even really started on because I needs both ALLOCA and BCOPY,
which do not work yet, and parse.c and parser.h from BISON.  So I am not sure
what problems I may have here.  

Any help anyone can provide will be greatly appreciated.  I am really out
of my element here and floundering badly.  Thanks to everyone.

Greg Hartzog
ghartzog@netcom.com

Three things never anger, first the one that runs your DEC, the one who does
your backups, and the one who signs your checks.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Help with BISON/FLEX
  1994-05-14 22:50 Help with BISON/FLEX Greg Hartzog
@ 1994-05-16 14:10 ` zeeb
  0 siblings, 0 replies; 2+ messages in thread
From: zeeb @ 1994-05-16 14:10 UTC (permalink / raw)



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!)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1994-05-16 14:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-05-14 22:50 Help with BISON/FLEX Greg Hartzog
1994-05-16 14:10 ` zeeb

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