From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,16b5c705c1fecdae,start X-Google-Attributes: gidfee84,public From: Joe Sirott Subject: Statically linked executables Date: 1998/02/20 Message-ID: <34EE3C4E.F5DD3420@pmel.noaa.gov>#1/1 X-Deja-AN: 327141619 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-Complaints-To: help@cac.washington.edu X-Trace: nntp6.u.washington.edu 888028470 49006 (None) 140.142.64.7 Organization: University of Washington Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 I want to create an executable on DU 4.0 that is not linked to any shared libraries (to avoid versioning problems when distributing it),yet can still link at run time to shared libraries using dlsym, dlopen, etc. I tried using the -non_shared flag, but then I can't use dlsym. Ideally, I'd like something like -Bstatic/-Bdynamic on Solaris. Please respond by e-mail, as I seldom read this newsgroup... -- Joe Sirott sirott@pmel.noaa.gov