Date: Tue, 16 May 2000 10:46:25 +0100 (BST) From: Jan Grant <Jan.Grant@bristol.ac.uk> To: Gustavo Vieira Goncalves Coelho Rios <kernel@tdnet.com.br> Cc: questions@freebsd.org Subject: Re: what's the advantage... Message-ID: <Pine.GHP.4.21.0005161044420.487-100000@mail.ilrt.bris.ac.uk> In-Reply-To: <3920AB51.22F54FCA@tdnet.com.br>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 16 May 2000, Gustavo Vieira Goncalves Coelho Rios wrote: > I got surprised when i compiled two versions of the same program, and > the one statically (-static flag) linked use less memory than that > dynamically linked. What sort of difference were you seeing? > How can one program that were static linked uses less memory that the > same one done using the default linking? I'd suspect that any (small) differences you're seeing could be attributed to mmapped .so files needing to be aligned with page boundaries. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287163 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk If it's broken really badly - don't fix it either. 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?Pine.GHP.4.21.0005161044420.487-100000>