From owner-freebsd-questions Tue Aug 21 1:33: 7 2001 Delivered-To: freebsd-questions@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id 44D1637B407 for ; Tue, 21 Aug 2001 01:33:04 -0700 (PDT) (envelope-from edwin@mavetju.org) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 78BDD2B708; Tue, 21 Aug 2001 10:33:01 +0200 (CEST) Received: by k7.mavetju.org (Postfix, from userid 1001) id 8D1E987; Tue, 21 Aug 2001 18:32:55 +1000 (EST) Date: Tue, 21 Aug 2001 18:32:55 +1000 From: Edwin Groothuis To: "Groot, Ruben de" Cc: "'freebsd-questions@freebsd.org'" Subject: Re: making statically linked binaries Message-ID: <20010821183255.E459@k7.mavetju.org> Mail-Followup-To: Edwin Groothuis , "Groot, Ruben de" , "'freebsd-questions@freebsd.org'" References: <117300A106D0D411BAD200805F6516AA04550F@dto0nt10.dto.tudelft.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <117300A106D0D411BAD200805F6516AA04550F@dto0nt10.dto.tudelft.nl>; from R.deGroot@DTO.TUDelft.NL on Tue, Aug 21, 2001 at 10:23:39AM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Aug 21, 2001 at 10:23:39AM +0200, Groot, Ruben de wrote: > 1) How do I determine what shared libraries a binary depends upon. Is there > a command for this? ldd `which cvs` > 2) Can someone point me to some examples on how to compile statically linked > binaries? man gcc, search for -static Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message