From owner-freebsd-hackers Fri Nov 15 12:17:45 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43FCE37B43A for ; Fri, 15 Nov 2002 12:17:43 -0800 (PST) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADB2A43E3B for ; Fri, 15 Nov 2002 12:17:42 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.5/8.12.5) with ESMTP id gAFKHbFC044143; Fri, 15 Nov 2002 12:17:37 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.5/8.12.5/Submit) id gAFKHbFS044142; Fri, 15 Nov 2002 12:17:37 -0800 (PST) (envelope-from dillon) Date: Fri, 15 Nov 2002 12:17:37 -0800 (PST) From: Matthew Dillon Message-Id: <200211152017.gAFKHbFS044142@apollo.backplane.com> To: Alfred Perlstein Cc: Nate Lawson , hackers@FreeBSD.ORG Subject: Re: cvs commit: src/bin/sleep sleep.c References: <200211151925.gAFJPsgh037805@apollo.backplane.com> <20021115194347.GG50692@elvis.mu.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :Will the knobs allow one to link /bin and /sbin against full blown :libc? That would be nice as we can then start using pam and user :management in / with dynamic modules (finally!). : :-- :-Alfred Perlstein [alfred@freebsd.org] I think that should be a goal. I think something like this: USE_MINIC=YES Link against the mini-C library. USE_SHARED_BIN=YES Link against a shared libc or mini-C rather then linking statically. All mini-C is is the full blown C library minus some of the larger chunks of bloat. e.g. no locale, smaller but less efficient malloc, and a trimmed down printf. At least that is what it is turning out to be. Even programs like /bin/rm require DBM and syslog. It can get nasty real fast. Basically libminic will override particular source files in libc to generate the smaller footprint. If we want to trim down mini-C further, removing things like DBM, we could, but then we would not be able to use mini-C for all of bin and sbin. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message