General
cancel
Showing results for 
Search instead for 
Did you mean: 

Needs to make a static executable on HP-UX IA64

SOLVED
Go to solution
Mario Almondo
Occasional Visitor

Needs to make a static executable on HP-UX IA64

Hi all,
We need togenerate a small piece of code that must run on an HP-UX IA64 server before the /usr is mounted on the system.
On itanium the old -noshared flag has been changed with -minshared, but the executable produced with -minshared flag still depends from the shared library in /usr.

Is there any way to make an executable runnable on ssytem without /usr mounted.

Thanks.
Mario Almondo
5 REPLIES
Dennis Handly
Acclaimed Contributor
Solution

Re: Needs to make a static executable on HP-UX IA64

No, you can't do this since archive system libs are evil and aren't supplied to ordinary customers.
You are asking for internal info. You may be able to get it by signing up for DSPP and justifying your request:
http://www.hp.com/go/DSPP

Dennis Handly
Acclaimed Contributor

Re: Needs to make a static executable on HP-UX IA64

On 11.31 there is a /sbin/getconf.
Laurent Menase
Honored Contributor

Re: Needs to make a static executable on HP-UX IA64

It is not possible,
Can you give more info on what you are trying to do? there my be some other solutions.
Mario Almondo
Occasional Visitor

Re: Needs to make a static executable on HP-UX IA64

We were looking for the same fuction provided by getconf, in 11.31 getconf is static and therefore the problem is solved...
Mario Almondo
Occasional Visitor

Re: Needs to make a static executable on HP-UX IA64

Problem solved in 11.31