Hi,
I need to add some comments in the generated executables ( exes and .sl ).
I used to use mcs command in solaris.
What is the equivalent in HP.
On googling and searching the HP site, it gave me to a link of STK for HP from True64, which isn't working.
Is there any substitute or anything that will solve my purpose.
Please help.
I'm disappointed with you, vibhor_agarwali. You've been here long enough to be aware of our rules. Please make sure that you have read our rules. And note:
(4) Do not 'bump up' questions if they are not answered promptly. No duplicate or cross-posting and do not report a post where your goal is to get an answer more quickly.
I have closed the duplicate thread.
Thanks,
But when you have your head under the hammer, nothing seems to be going right.
I need it urgently, thats why i tried all the things i could do.
In 32 bit mode, HP-UX uses SOM. In 64 bit mode, HP-UX uses ELF. Tools to manipulate a ELF comment aren't going to work in 32 bit mode. Could that be the problem?
Edit: For reference...
Solaris mcs man page
Solaris STK mcs page
Tru64 STK mcs page
Well,
I already know the first and the third links.
Whats "Tru64 UNIX Migration Environment for HP-UX"?
I downloaded the STK from there, but it didn't run.
Error like "no supported tool for your environment" popped up
The elf command i think provides functions to manipulate the library during coding. ( as a matter of coincidence, i was just looking into it ).
If i am wrong here, please guide.
What i actually want to do is:
after the full development of executables, i want to add a release tag before delivering it to the clients, so that later on i can track the versions there.
I am not willing to touch the code for this.
Can i do this without touching the code?
Okay so finally getting the feeling that there is nothing in HP like mcs.
But still I have to try and finally came upto something after so many days.
Some help needed for this.
ld has some options which may be useful for me:
+h file_name
It says it gives an internal name to the generated shared lib. Now what is this internal name?
It also states something about mapfile. I unable to figure out what is the use of mapfile.
I have a 2 step compilation process
First:
aCC -c flags ( produces .o )
Second:
aCC objs flags -o file
Now how can i add my +h option here.
I am passing flags to the linker using "flags" -> -Wl,+s,-a,default
Here i am trying to pass +h name but it gives me error.
I also tried -c file ( in which i had given the +h), it doesn't work either.
Please help