Operating System - HP-UX
1747980 Members
4360 Online
108756 Solutions
New Discussion

Re: How to change embedded path for a library on IA 64?

 
nikhil_k
New Member

How to change embedded path for a library on IA 64?

Hi All,

Is it possible to change embedded path of a library using chatr command?

If yes, please explain using an example.
If not, please tell me how can I specify embedded path during compilation of library?

Thanks in advance.

Regards,
Nikhil
1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: How to change embedded path for a library on IA 64?

No, the +b command only enables and disables an existing path.

Any library path specified with -L during the link is automatically added to the embedded path, unless you use -Wl,+nodefaultrpath. You can also replace them with -Wl,+b,path1:path2