Summary: SunOS 4.1.4 and acc-2.0.1

From: Anchi Zhang (anchi@starbase.neosoft.com)
Date: Thu Feb 02 1995 - 08:03:00 CST


My original posting:

 After the upgrade from SunOS 4.1.3_U1 to 4.1.4, compilation
 with Sun's acc-2.0.1 yields
 
   acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path

Thanks to szh@zcon.com (Syed Zaeem Hosain) whose message (appended)
suggested a workaround and to Tom Orban <orban@advtech.uswest.com>
and "Dr. D.C. Williams" <dcwill@ee.unr.edu> who provided the moral
support by telling me that they were encountering the same thing.

I called Sun and got a modified acc binary. It has been tested Okey.
I may do the same with C++ 3.0.1.

Anchi

Date: Wed, 25 Jan 95 21:44:00 PST
From: szh@zcon.com (Syed Zaeem Hosain)
To: anchi@starbase.neosoft.com
Subject: Re: SunOS 4.1.4 and acc-2.0.1

> After the upgrade from SunOS 4.1.3_U1 to 4.1.4, compilation
> with Sun's acc-2.0.1 yields
>
> acc: Warning: OS level 4.1.4 not in table -- using 4.1.1 include path
>
> Can I add 4.1.4 into this so-called table?

I don't know if there is a good answer except to upgrade to later
revisions of Sun acc. What I did to avoid problems was to sort of
eliminate 4.1.1 include files in my system. I pretty much ran the
following script - as the super-user, of course, on the system
where the compiler is located here.

#!/bin/csh

cd /usr/lang/SC2.0.1/include/cc_413
tar cf - . | ( mkdir ../cc_414 ; cd ../cc_414 ; tar xf - )
cd ../CC_413
tar cf - . | ( mkdir ../CC_414 ; cd ../CC_414 ; tar xf - )
cd ..

mv CC_411 CC_411.old ; ln -s CC_414 CC_411
mv cc_411 cc_411.old ; ln -s cc_414 cc_411

cd /usr/lang/SC2.0.1patch/include/cc_413
tar cf - . | ( mkdir ../cc_414 ; cd ../cc_414 ; tar xf - )
cd ../CC_413
tar cf - . | ( mkdir ../CC_414 ; cd ../CC_414 ; tar xf - )
cd ..

mv CC_411 CC_411.old ; ln -s CC_414 CC_411
mv cc_411 cc_411.old ; ln -s cc_414 cc_411

and live with the warning message. This information is apparently quite
hard-coded into the executables for the compilers (both Sun C 2.0.1 and
C++ 3.0.1) and I did not find a simple way to update the files ...

                                                                Z

-------------------------------------------------------------------------
| Syed Zaeem Hosain P. O. Box 610097 (408) 441-7021 |
| Z Consulting Group San Jose, CA 95161 szh@zcon.com |
-------------------------------------------------------------------------



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:15 CDT