Copyright © 1997, Compiler Resources, Inc.
HP-UX Customer FAQ

Yacc++ and the Language Objects Library

FAQ Upgrade Sheet for HP-UX

March 27, 1997

Revision 2.1 - March 1997

Welcome to the FAQ Sheet (Frequently Asked Questions) for HP-UX upgrades.

You may be in the process of upgrading your HP-UX operating system and C++ compiler now. Or you may be planning for the upgrade in the future and have questions. Our goal is to make the Yacc++ part of your upgrade as flexible and painless as possible by providing one version suitable for various system configurations.

Yacc++ Revision 2.1

The newest version of Yacc++ and the Language Objects Library for HP-UX is Revision 2.1 (27 March 1997). It contains improvements and the latest bug fixes to the software.

"Out of the box" it is intended for use with the latest and greatest HP aC++:

   HP-UX 10.20 
   HP aC++ A.01.00 (Advanced C++ compiler based on the ANSI/ISO draft)

You can also use this version with older systems and C++ compilers. If you are using a different configuration, please read on before attempting the installation described in the Yacc++ Installation Guide.

Newest HP aC++ Compiler Vs. HP C++ Compiler (aCC vs. CC)

The newest compiler is HP aC++. It is invoked by "aCC". The new compiler was installed to /opt/aCC/bin on the HP-UX 10.20 system I used for testing.

The previous compiler is HP C++. It is invoked by "CC".

aCC (the new compiler) is a more strict compiler. You may find that C++ code that compiled with CC will get warnings or errors with aCC. I have brought Revision 2.1 of the Language Objects Library into conformance with aCC. It compiles cleanly with both aCC and CC.

All makefiles (makefile.hp) shipped in Revision 2.1 have the compiler variable set to use HP aC++. The Language Objects Library was pre-compiled with HP aC++. If you want to use the older C++ compiler:

  1. Change Makes From: CXX=aCC To: CXX=CC

  2. Recompile the Language Objects Library "yy_lol.a"
    in /yxx/lib.hp using HP C++ (CC).

  3. Run the "prog" installation test case.

HP-UX 9.x to HP10.x Upgrade

Like the previous version (Revision 2.0), Revision 2.1 works on both HP-UX 10.x and HP-UX 9.x. We continued to build the Revision 2.1 yxx, yy_etbl, and yy_stbl executables on HP-UX 9.x to insure this. (I also built the executables on HP-UX 10.20 for testing purposes, but since they will not run on HP-UX 9.x systems these are not being shipped to you at this time).

If you are using HP-UX 9.x, you will need to follow the same steps as above. (Change the makes to use CC and recompile the Language Objects Library on HP-UX 9.x before running the "prog" Hello World! installation test case).


Chris Clark
Compiler Resources, Inc.       compres@world.std.com 
23 Bailey Rd                   (508) 435-5016 ext. 4
Berlin, MA 01503 USA           (978) 838-0263 FAX (24 HOURS)


Last updated on March 27, 1997. To send email to Compiler Resources, Inc.

Return to Yacc++ Home Page