Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.
Moderators: chulett , rschirm , roy
attu
Participant
Posts: 225 Joined: Sat Oct 23, 2004 8:45 pm
Location: Texas
Post
by attu » Fri Aug 31, 2007 12:57 pm
unix command line for determining C++ compiler version on HP-UX
is only working for aix. what is it for hp -ux
Thanks
chulett
Charter Member
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Fri Aug 31, 2007 1:27 pm
No clue, but if I wanted to find out I'd ask an SA.
-craig
"You can never have too many knives" -- Logan Nine Fingers
sud
Premium Member
Posts: 366 Joined: Fri Dec 02, 2005 5:00 am
Location: Here I Am
Post
by sud » Tue Sep 04, 2007 11:30 am
It is the aCC compiler for HP.
It took me fifteen years to discover I had no talent for ETL, but I couldn't give it up because by that time I was too famous.
attu
Participant
Posts: 225 Joined: Sat Oct 23, 2004 8:45 pm
Location: Texas
Post
by attu » Tue Sep 04, 2007 11:43 am
sud wrote: It is the aCC compiler for HP.
Sud, how will I find it using the unix command.
ArndW
Participant
Posts: 16318 Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:
Post
by ArndW » Tue Sep 04, 2007 6:11 pm
ray.wurlod
Participant
Posts: 54607 Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:
Post
by ray.wurlod » Tue Sep 04, 2007 6:39 pm
That only works if aCC's directory is in your PATH.
Try
Code: Select all
find / -name aCC -print 2>/dev/null
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ArndW
Participant
Posts: 16318 Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:
Post
by ArndW » Tue Sep 04, 2007 8:05 pm
I intentionally use that command, since if it isn't in the path then you have other problems in DataStage.
chulett
Charter Member
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Tue Sep 04, 2007 8:38 pm
However, all that does is find it. The question is how to determine the compiler version.
-craig
"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607 Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:
Post
by ray.wurlod » Tue Sep 04, 2007 8:39 pm
Ya hafta know that it's there first! Then you can ask the compiler its version.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Tue Sep 04, 2007 9:05 pm
Granted. But no-one has explained the 'how to ask' part. Me, I'd still stick with going over and banging my SA on the head, ask them what version is installed.
-craig
"You can never have too many knives" -- Logan Nine Fingers
ArndW
Participant
Posts: 16318 Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:
Post
by ArndW » Tue Sep 04, 2007 10:10 pm
After you've found the compiler, just run 'aCC -V'
chulett
Charter Member
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Tue Sep 04, 2007 10:24 pm
So... like this?
Code: Select all
$ which aCC
/opt/softbench/bin/aCC
$ aCC -V
aCC: HP ANSI C++ B3910B A.03.37
-craig
"You can never have too many knives" -- Logan Nine Fingers
attu
Participant
Posts: 225 Joined: Sat Oct 23, 2004 8:45 pm
Location: Texas
Post
by attu » Wed Sep 05, 2007 7:27 am
Thanks Ray, Andrw, Chulett and all.