Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Aug 2001 18:32:55 +1000
From:      Edwin Groothuis <edwin@mavetju.org>
To:        "Groot, Ruben de" <R.deGroot@DTO.TUDelft.NL>
Cc:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   Re: making statically linked binaries
Message-ID:  <20010821183255.E459@k7.mavetju.org>
In-Reply-To: <117300A106D0D411BAD200805F6516AA04550F@dto0nt10.dto.tudelft.nl>; from R.deGroot@DTO.TUDelft.NL on Tue, Aug 21, 2001 at 10:23:39AM %2B0200
References:  <117300A106D0D411BAD200805F6516AA04550F@dto0nt10.dto.tudelft.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010821183255.E459>