From: Paul Pluzhnikov <ppluzhnikov@earthlink.net>
Subject: Re: Strange ld behavior in versions 4.0F and above
Date: Sun, 21 Apr 2002 00:07:42 GMT [thread overview]
Message-ID: <m3662mq84x.fsf@salmon.parasoft.com> (raw)
In-Reply-To: 3CBCA5B0.9E3FFB77@zk3.dec.com
Joe Mario <mario@zk3.dec.com> 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,
prev parent reply other threads:[~2002-04-21 0:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-12 22:21 Strange ld behavior in versions 4.0F and above Fernando Nunes
2002-04-14 5:38 ` Paul Pluzhnikov
2002-04-16 22:33 ` Joe Mario
2002-04-21 0:07 ` Paul Pluzhnikov [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox