[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Recent version of Bison under GNV/VMS
From: |
Bernard Giroud |
Subject: |
Recent version of Bison under GNV/VMS |
Date: |
Wed, 23 Jul 2003 12:33:53 +0200 |
Hi all,
Thanks to Steve Pitcher who gave me the trick "define
DECC$PIPE_BUFFER_SIZE 64535", GNV is working
better and better. I could "./configure" and "make install"
the following packages (sometimes with little hacks):
mktemp 1.5, hostinfo 2.2, patch 2.5.4, yacc 1.9.1, flex 2.5.4
and finally bison 1.35.
Alas, when bison is used with option -y, it gives files *_tab.c
instead of the expected *.tab.c, due to the ifdef in system.h
for VMS. I also noticed that the latest version still having the
VMS command line support is 1.75, because it has been
dropped by Akim Demaille the 2002.11.12.
We need to change the way the output files are generated,
but we have 3 possibilities:
1) reintroduce a full native (comand line ) VMS support,
but targeted to unix file names (ODS-5) only
2) reintroduce a full native (command line) VMS support,
plus a runtime support of standard (ODS-2) file names
or full unix file names (ODS-5)
3) Complement the VMS ifdef to test also for GNV at
compile time.
4) suppress the VMS ifdef: it will drop to the unix case
==> no more specific VMS support.
I'm personally in favor of the 4th proposal: simplest and
more POSIX like.
If one of the proposal 2 or 3 is used (or for other packages
with similar needs), then what would be the best way to test
the environment:
- at compile time do we have in the compiler (hp-compaq
C) something like a "GNV" define ?
- if no, could it be added in the CC wrapper ?
- but if yes, ultimately, it should be needed in the true gcc.
- at run time: is it ok to test for getenv("SHELL") to distinguish
between running under GNV or native VMS ?
Bernard Giroud
Credit Lyonnais (Suisse) SA
********************************************************************************
This e-mail contains confidential information or information belonging
to the Credit Lyonnais Group entity sending it and is intended solely
for the addressees. Any views expressed in this message are those of
the individual sender and its contents do not constitute a commitment
by Credit Lyonnais unless confirmed by letter or fax. The unauthorised
disclosure, use, dissemination or copying (either whole or partial) of
this e-mail, or any information it contains, is prohibited. E-mails are
susceptible to alteration and their integrity cannot be guaranteed.
Internet communications are not secured and therefore Credit Lyonnais
shall not be liable for this e-mail if modified or falsified. If you
are not the intended recipient of this e-mail, please delete it
immediately from your system and notify the sender of the wrong
delivery and the mail deletion.
********************************************************************************
- Recent version of Bison under GNV/VMS,
Bernard Giroud <=