From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 09:37:13 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C3FE116A4CE for ; Tue, 23 Dec 2003 09:37:13 -0800 (PST) Received: from lilzmailso01.liwest.at (lilzmailso01.liwest.at [212.33.55.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id B549243D50 for ; Tue, 23 Dec 2003 09:37:12 -0800 (PST) (envelope-from dgw@liwest.at) Received: from cm58-27.liwest.at ([212.33.58.27]) by lilzmailso01.liwest.at with esmtp (Exim 4.24) id 1AYqT0-0001bO-Pn for questions@freebsd.org; Tue, 23 Dec 2003 18:37:10 +0100 From: Daniela To: questions@freebsd.org Date: Tue, 23 Dec 2003 18:32:04 +0000 User-Agent: KMail/1.5.3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312231832.04910.dgw@liwest.at> Subject: Question about static libraries and compression X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2003 17:37:13 -0000 I have a problem with linking: When I invoke make, I always give it the -DNOSTATIC option on the commandline to save space. However, this doesn't work. My system still builds static libraries. Or are the binaries linked dynamically, and the static libs are there for nothing? I guess it's safe to delete them, right? Everything is self-compiled, I do not use binary packages at all. Also, I read that the kernel can execute gzipped a.out binaries directly, can the same thing be done for ELF? I need a really small system, because I want to boot and run it from CD-ROM. Regards, Daniela