- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP compiler question ?
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-06-2001 06:35 AM
08-06-2001 06:35 AM
Just a quickie.....
I am trying to write a small function in C to speed up reporting, to chop up selected data rather than using awk (too slow).
I am having problems working out (cc) - how the compiler works - it doesn't seem to accept proto typing or
normal passing of parameters. Does anyone know how the compiler passes parameters or if there is another that does?
Any help, tips, comments warmly received as ever!
Cheers,
-ChaZ-
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2001 06:42 AM
08-06-2001 06:42 AM
Re: HP compiler question ?
May you please post the sample that you use and which is not working just for speeding the debug process for what you are doing ?
Normaly, cc is working fine.
Magdi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2001 06:54 AM
08-06-2001 06:54 AM
SolutionI suspect that you are using the bundled c compiler; all it speaks is K&R so no prototyping. You will need to buy the ANSI/C compiler of aC++ if you want ANSI features. For such a trivial task, the bundled C compiler should suffice but you will have to convert your function parameters to K&R style.
I would also look into coding your routine in Perl. Perl p-code is very efficient and I suspect it will be almost as fast as doing it
in C unless you are doing some really heavy duty stuff like building a compiler.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2001 07:11 AM
08-06-2001 07:11 AM
Re: HP compiler question ?
As for the writing of my own compiler...... I'll leave that to the trusty hands of the HP ladies and gentlemen!
Cheers!
-ChaZ-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2001 09:46 AM
08-06-2001 09:46 AM
Re: HP compiler question ?
Bill Hassell, sysadmin