From owner-freebsd-questions Sat Feb 8 18:22:35 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA16922 for questions-outgoing; Sat, 8 Feb 1997 18:22:35 -0800 (PST) Received: from quackerjack.cc.vt.edu (quackerjack.cc.vt.edu [198.82.160.250]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA16908 for ; Sat, 8 Feb 1997 18:22:30 -0800 (PST) Received: from sable.cc.vt.edu (sable.cc.vt.edu [128.173.16.30]) by quackerjack.cc.vt.edu (8.8.4/8.8.4) with ESMTP id VAA13710; Sat, 8 Feb 1997 21:22:23 -0500 (EST) Received: from jandrese.async.vt.edu (jandrese.async.vt.edu [128.173.20.208]) by sable.cc.vt.edu (8.8.4/8.8.4) with SMTP id VAA13462; Sat, 8 Feb 1997 21:22:21 -0500 (EST) Date: Sat, 8 Feb 1997 21:22:23 +0000 () From: Jason Andresen X-Sender: jandrese@jandrese.async.vt.edu To: Allen Hyer cc: freebsd-questions@freebsd.org Subject: Re: static vs. dynamically linked binaries In-Reply-To: <3.0.1.32.19970208194031.0075a288@wtrt.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 8 Feb 1997, Allen Hyer wrote: =) =)Is there any way to figure out if a binary was linked statically or =)dynamically? I have some binaries around that I don't have the sources =)installed for. Can I tell with just the binary, or do I need to go back to =)the sources? =) file(1) :::::::::::::::::::::::::::. . . . . ..:::::::::::::::::::::::::::: :: Jason Andresen :. . . . . . . . . : http://www.vt.edu:10021 :: :: jandrese@vt.edu :.:.:.:.:.:.:.:.:.:: /J/jandrese :: :.........................: Quote of the day :..........................: My brain is my second favorite organ. -- Woody Allen :::::::::::.:.:.:.:.:.:.:.........................:.:.:.:.:.:.:.:::::::::::