1752793 Members
6285 Online
108789 Solutions
New Discussion

-AA option with aCC

 
MurugesanGCT
Advisor

-AA option with aCC

Hi,
I received the following status on HP-UX platform.


"Question: while researching steps required to patch our current HP-UX servers running our program(s) for the upcoming Daylight Savings Time adjustment, I’ve discovered that a special patch is needed for C++ libraries. HP states that code compiled using the ANSI C compiler aC++ with the –AA option will need to recompiled. I’m trying to determine if any of the code might be applicable to this rule. Would you be able to answer this question, or point me in the right direction?"



For this query
1) I searched the Makefiles and found that there is no "-AA" in the make file
2) I just wanted to know about the detailed information for this question.
I am not sure on the purpose of using "-AA" option with aCC.
http://www.geocities.com/mukeshgct/
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor

Re: -AA option with aCC

The lack of -AA in the makefile does not mean the newer ANSI behavior was not asserted. For example, the makefile might contain a line similar to this:
CFLAGS=$(cat /usr/lib/CFLAGS)
where the options are read from a textfile. Moreover, the environment variable CCOPTS might have been set while the makes were run.

A "man aCC" will explain what -AA actually does.
If it ain't broke, I can fix that.
Dennis Handly
Acclaimed Contributor

Re: -AA option with aCC

I think you are reading the DST info incorrectly. Whether you use -AA or the default -AP, you still have to apply the patch if you use librwtool*'s RWZone class. If you are using obsolete Standard Components, there are other patches available but you should really recode this.

What page were you reading?
http://h21007.www2.hp.com/dspp/files/unprotected/DST2.pdf

>Clay: CFLAGS CCOPTS

These are for cc. aCC uses CXXOPTS and the makefile convention for C++ is CXXFLAGS.

>Clay: A "man aCC" will explain what -AA actually does.

This is better explained by:
http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,5520,00.html