- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP 64-bit ANSI C Compiler
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2004 03:27 AM
тАО11-30-2004 03:27 AM
We just reinstalled HPUX11.00 64bit Kernel and found out we dont have the ANSI C compiler after install. Does this compiler come with the HPUX CDs or is it a separate product that we need to obtain?
Free? No? Any help will be very much appreciated.
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2004 03:30 AM
тАО11-30-2004 03:30 AM
Re: HP 64-bit ANSI C Compiler
It's probably on the Core OS Cd
Its definitely on the Application CD
You can buy it online or perhaps from a reseller.
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B3899BA
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2004 03:31 AM
тАО11-30-2004 03:31 AM
Re: HP 64-bit ANSI C Compiler
ANSI C compiler isn't bundled with HPUX 11.00 and as far as i know it required a licence.
The gnu gcc compiler is free and works well on hpux...
Stf ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2004 03:31 AM
тАО11-30-2004 03:31 AM
Re: HP 64-bit ANSI C Compiler
Your other option is gcc available from any of the HP-UX Porting Centre's for free.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2004 03:40 AM
тАО11-30-2004 03:40 AM
Re: HP 64-bit ANSI C Compiler
I believe we specifically need the ANSI/C. We know about gcc but we definitely need the ANSI/C for the stuff we need to do.
Ok you mentioned about a codeword. We actually have the ANSI/C compiler loaded on our 32-bit HPUX11 and it is working fine. Is it possible to obtain this codeword from there?
As far as we know, we lost the CD or any material that lets us install the ANSI/C compiler. Too bad.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2004 03:44 AM
тАО11-30-2004 03:44 AM
Re: HP 64-bit ANSI C Compiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2004 04:33 AM
тАО11-30-2004 04:33 AM
SolutionThis does assume that your 32-bit box and your 64-bit boxes are both 11.0; 11.11 code will not run on (reliably) 11.0.
If you can find your application CD's AND you do a swremove of ANSI/C from your 32-bit box so that you have only a single version of the compiler installed AND the two machines are of equal tier --- I'm getting all the licensing ducks in a row --- then you should be able to find your codewords under /var/adm/sw. on yoiur 32-bit box. If you need to run ANSI/C on both boxes then you will have to purchase another license.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2006 07:10 AM
тАО06-15-2006 07:10 AM
Re: HP 64-bit ANSI C Compiler
I manually edited the Makefile to point CC=/usr/local/bin/gcc but I get the errors below:
Do I need an ANSI C compiler?
Please advise!
Thank you
Derek
As root:
# make
Manifying ../blib/man3/Proc::ProcessTable::Process.3
/usr/local/bin/gcc -c -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_H
PUX_SOURCE -Wl,+vnocompatwarnings -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFF
SET_BITS=64 -fast +Onolimit +Opromote_indirect_calls +DAportable +DS2.0 -DVER
SION=\"0.40\" -DXS_VERSION=\"0.40\" +Z "-I/opt/perl/lib/5.8.2/PA-RISC1.1-thread
-multi/CORE" ProcessTable.c
gcc: +Onolimit: No such file or directory
gcc: +Opromote_indirect_calls: No such file or directory
gcc: +DAportable: No such file or directory
gcc: +DS2.0: No such file or directory
gcc: +Z: No such file or directory
cc1: error: unrecognized command line option "-fast"
*** Error exit code 1
Here is my cc version info:
# cc -V -v derek.c junk
(Bundled) cc: NLSPATH is /usr/lib/nls/msg/%L/%N.cat:/usr/lib/nls/msg/C/%N.cat:
(Bundled) cc: CCOPTS is not set.
(Bundled) cc: INCLUDIR is INCLUDIR=/usr/include
/usr/ccs/lbin/cpp derek.c /var/tmp/ctmAAAa01455 -$ -D__hp9000s800 -D__hppa -D__h
pux -D__unix -V -D_ILP32 -D_PA_RISC2_0 -D__CLASSIC_C__ -j
(Bundled) cc: Entering Preprocessor.
cpp: HP92453-01 B.11.11.02 HP C (Bundled) Preprocessor
/usr/ccs/lbin/ccom /var/tmp/ctmAAAa01455 derek.o -Fderek.c -V
ccom: HP92453-01 A.11.01.21 HP C (Bundled) Compiler
(Bundled) cc: "derek.c", line 1: warning 501: Empty source file.
(Bundled) cc: LPATH is /usr/lib:/opt/langtools/lib:
/usr/ccs/bin/ld /usr/ccs/lib/crt0.o -u main -V derek.o junk -lc
(Bundled) cc: Entering Link editor.
/usr/ccs/bin/ld: 92453-07 linker linker ld B.11.40 040530
/usr/ccs/bin/ld: Can't open junk
/usr/ccs/bin/ld: No such file or directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2006 07:20 AM
тАО06-15-2006 07:20 AM
Re: HP 64-bit ANSI C Compiler
cc -Aa bogusfile.c
If you are running the Bundled compiler, you will get a warning that the -A option is only available with the ANSI C compiler (in addition to the warning that file bogusfile.c is not found). You wuill get the file not found error with either compiler.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2006 07:24 AM
тАО06-15-2006 07:24 AM