From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,942afaf287eebe84 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-04-20 17:07:38 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!rcn!newsfeed1.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Sender: paul@salmon.parasoft.com Newsgroups: comp.unix.tru64 Subject: Re: Strange ld behavior in versions 4.0F and above References: <3CB75DF0.773FA9FB@Mnetcabo.pt> <3CBCA5B0.9E3FFB77@zk3.dec.com> From: Paul Pluzhnikov User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence) Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 21 Apr 2002 00:07:42 GMT NNTP-Posting-Host: 24.205.81.188 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 1019347662 24.205.81.188 (Sat, 20 Apr 2002 17:07:42 PDT) NNTP-Posting-Date: Sat, 20 Apr 2002 17:07:42 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: archiver1.google.com comp.unix.tru64:7333 Joe Mario writes: > There are many cases where users want to link their > application with unresolved symbols so they can run > them later with libraries that do define the > unresolved symbol(s). They run "chmod +x" on the > linked image so they can later run it. And their reason for not using proper libraries in the link to begin with is? I have never seen such a user, but I have seen the cc -o foo ... || rm -f foo pattern a lot. Perhaps a better approach would have been a special flag (e.g. --expect-unresolved), so the (rare) user who actually needs "half-cooked" executable could get it, while the usual user doesn't have to jump through hoops? Cheers,