From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,954142f258a1ef9e,start X-Google-Attributes: gidfee84,public From: Ajay Pal Singh Subject: DLOPEN with -non_shared Date: 1999/01/27 Message-ID: <36AF86F0.C1BEE781@sybase.com>#1/1 X-Deja-AN: 437679697 Content-Transfer-Encoding: 7bit Organization: Sybase, Inc. Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 Hi All, I need to make dlopen(), dlclose(), dlsym() and dlerror() work with -non_shared. The run-time linker loader /sbin/loader cannot do this if the pgm is not compiled with -call_shared. I cannot use -call_shared since optimizer (-om) works only with non_shared files. And dl...() routines won't work if the exec image is static. Is there a work around this problem. To be able to use the dlopen() on statically linked programs or use OM on dynamic programs. I know that digital is providing dynamic libs optimization in STEEL (v5.0) but what of now?? Or is there a standalone loader and run-time linker that anyone can provide me with. I can use that from exec_with_loader(), if the loader export the dl...() functions to the static exec image. Thanx for any information.