- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to compile c programs using HP ANSI C++ compil...
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
Forums
Discussions
Discussions
Discussions
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
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
08-09-2006 11:48 PM
08-09-2006 11:48 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 11:54 PM
08-09-2006 11:54 PM
Solutionread the support documentation for examples.
You can use/adapt the make scripts delivered with the product.
In principle:
1. Identify your compiler as the one to be used (which cc)
2. Compile the code cc a.c, which will generate a.out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2006 11:55 PM
08-09-2006 11:55 PM
Re: How to compile c programs using HP ANSI C++ compiler?
You can use aCC compiler to compile your C codes.
# acc your_code.c
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2006 12:04 AM
08-10-2006 12:04 AM
Re: How to compile c programs using HP ANSI C++ compiler?
Hi Basu,
Once you install AC++ compiler,
run
aCC
By default aCC compiler is in path /opt/aCC/bin
Incluse /opt/aCC/bin in your PATH.
-sysadm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2006 12:30 AM
08-10-2006 12:30 AM
Re: How to compile c programs using HP ANSI C++ compiler?
here some links to help you.
HP aC++ Online Programmer's Guide
http://docs.hp.com/en/7762/5991-4874/index.htm
Development Tools and Distributed Computing
http://docs.hp.com/en/dev.html#aC%2B%2B%20%28ANSI%29
Sekar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2006 12:43 AM
08-10-2006 12:43 AM
Re: How to compile c programs using HP ANSI C++ compiler?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2006 11:20 PM
08-10-2006 11:20 PM
Re: How to compile c programs using HP ANSI C++ compiler?
if you are happy with the replies, can you please see:
http://forums1.itrc.hp.com/service/forums/helptips.do?#28