HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Need Script
Operating System - HP-UX
1833827
Members
2369
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
03-26-2007 01:25 AM
03-26-2007 01:25 AM
Need Script
Hi Folks,
I need a script to add what string to my binary.
Example: what nagios
output: $Nagios A.08.00-2.5 $
where i got this when i added wht_version.h into .c file which builds the binary nagios....
Is there any compiler option or any automated script which does the same ...
Thanks once again
--Regards
Crazy Santhosh
what_versio.h
#ifndef _WHAT_VERSION_STRING_
#define _WHAT_VERSION_STRING_
static const char hpux_rcsid[] =
"\100(#)$Nagios A.08.00-2.5 $";
#endif
I need a script to add what string to my binary.
Example: what nagios
output: $Nagios A.08.00-2.5 $
where i got this when i added wht_version.h into .c file which builds the binary nagios....
Is there any compiler option or any automated script which does the same ...
Thanks once again
--Regards
Crazy Santhosh
what_versio.h
#ifndef _WHAT_VERSION_STRING_
#define _WHAT_VERSION_STRING_
static const char hpux_rcsid[] =
"\100(#)$Nagios A.08.00-2.5 $";
#endif
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2007 01:33 AM
03-26-2007 01:33 AM
Re: Need Script
Hi:
The manpages for 'what' offer you the insight.
Regards!
...JRF...
The manpages for 'what' offer you the insight.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2007 05:09 PM
03-26-2007 05:09 PM
Re: Need Script
HP compilers have a pragma:
#pragma versionid "..."
Why did you want an automated script? To add it after you have linked? (There isn't any.)
#pragma versionid "..."
Why did you want an automated script? To add it after you have linked? (There isn't any.)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP