- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Compile C scripts using aCC
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
04-21-2008 02:05 PM
04-21-2008 02:05 PM
Compile C scripts using aCC
We are using a Systinet SOAP Server which is predominantly a C++ source base except for a few Client Stubs which are in C language. I have two questions.
1. Can we use aCC to compile the Client stubs in C language ?
2. Does aCC support C language compilation ? Will we have any issues if this aCC compiled Binary makes any calls to other C binaries compiled using other compilers ?
We use the aCC version - ANSI C++ B3910B A.03.45
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2008 02:26 PM
04-21-2008 02:26 PM
Re: Compile C scripts using aCC
If you have a support contract, uplift to the latest version:
https://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B9007AA
An evaulation copy is also available:
https://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B9007AAEVAL
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2008 11:58 PM
04-21-2008 11:58 PM
Re: Compile C scripts using aCC
Yes but with the recent restructuring, you get both a C and C++ compilers for the same price. See JRF's links.
If they are just "stubs", you can probably use cc_bundled(1) to compile them.
>2. Does aCC support C language compilation? Will we have any issues if this aCC compiled binary makes any calls to other C binaries compiled using other compilers?
Yes, with -Ae. Especially on IPF where it is the same compiler.
No, C is C and isn't complex like C++.
>We use the aCC version A.03.45:
That's pretty old.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2008 06:35 AM
04-22-2008 06:35 AM
Re: Compile C scripts using aCC
Thank you for the replies...
We are trying to troubleshoot an "unreproducible" issue in an environment of C/Cpp binaries interacting with each other... The issue is not a typical "memory leak" issue... We have done exhaustive code review of all binaries and found no clues...
We finally found out that these c stubs were compiled using aCC compiler using the -Ae option while the other binaries compile the c stubs using the Ansi C compiler... So, this is under suspicion... Do you feel that this could be an issue ? Will there actually be a difference in the object code between a C compiled and Cpp compiled C stub code ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2008 08:46 PM
04-22-2008 08:46 PM
Re: Compile C scripts using aCC
>The issue is not a typical "memory leak" issue
What is going wrong? An abort? A leak?
>Do you feel that this could be an issue? Will there actually be a difference in the object code between a C compiled and aCC compiled C stub code?
I wouldn't think so. If there were, it would likely abort right away.
It would help if you could explain the failure modes.