bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Gnv-develop] Recent version of Bison under GNV/VMS


From: Pitcher, Steve (OpenVMS Eng (ZKO))
Subject: RE: [Gnv-develop] Recent version of Bison under GNV/VMS
Date: Wed, 23 Jul 2003 09:32:46 -0400

Bernard,

I'm happy that the PIPE_BUFFER_SIZE helped you.  There may be more
coming!

Regarding the problem of multiple tabs, and your 4 possible solutions:

I tend to lean toward #3... But the conditionalization shouldn't be for
GNV...  Its really ODS-5 support that you want.  Now this gets tougher,
since you probably shouldn't be testing for ODS-5 support at compile
time.  Its really a run-time issue.  Perhaps Ken's suggestion of fixing
this in the CRTL supplement may be the way to go.

I'll try to consider this... Surely, I've had enough grief myself with
multiple dots!

By the way... In a sense, we've side-stepped this issue in the most
recent release of GNV.  We've decided to require ODS-5, for more or less
this reason.  If you're working with a Unix project, then you probably
need Unix-style filenames, thus you need ODS-5.  So now we've got
software out there (E.G. BISON) that is unaware of ODS-5... We probably
want to get an edit in to BISON.

- stp


-----Original Message-----
From: Bernard Giroud [mailto:address@hidden 
Sent: Wednesday, July 23, 2003 6:34 AM
To: address@hidden; address@hidden
Subject: [Gnv-develop] Recent version of Bison under GNV/VMS


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.
************************************************************************
********




-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Gnv-develop mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/gnv-develop




reply via email to

[Prev in Thread] Current Thread [Next in Thread]