From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31925 invoked from network); 9 Feb 2005 12:50:17 -0000 Received: from unknown (HELO lists.gnu.org) (199.232.76.165) by sourceware.org with SMTP; 9 Feb 2005 12:50:17 -0000 Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CyrVQ-0001WE-Ju for listarch-gnats-devel@sources.redhat.com; Wed, 09 Feb 2005 08:03:45 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CyrRD-0000rF-6V for help-gnats@gnu.org; Wed, 09 Feb 2005 07:59:23 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CyrR9-0000pD-1F for help-gnats@gnu.org; Wed, 09 Feb 2005 07:59:19 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CyrR8-0000kZ-S6 for help-gnats@gnu.org; Wed, 09 Feb 2005 07:59:18 -0500 Received: from [195.138.79.154] (helo=relay.apk.od.ua) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1Cyr2T-0005z0-9w for help-gnats@gnu.org; Wed, 09 Feb 2005 07:33:51 -0500 Received: from nostromo.holding.local (nostromo.holding.local [10.1.1.8]) by relay.apk.od.ua (8.12.11/8.12.11) with SMTP id j19CXXQa000108; Wed, 9 Feb 2005 14:33:35 +0200 (EET) Date: Wed, 09 Feb 2005 12:50:00 -0000 From: "Mike M. Volokhov" To: "Mark D. Baushke" Message-Id: <20050209143333.57eb6c9f.mishka@apk.od.ua> In-Reply-To: <28735.1107796160@juniper.net> References: <20050105222435.GA23939@wookimus.net> <20050106111441.64c255e3.mishka@apk.od.ua> <20050106170435.GA2921@wookimus.net> <20050207174424.136b4b5b.mishka@apk.od.ua> <28735.1107796160@juniper.net> Organization: Insakharprom-K, Ltd. X-Mailer: Sylpheed version 0.9.99-gtk2-20041024 (GTK+ 2.4.13; i386--netbsdelf) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.80/700/Fri Feb 4 01:33:15 2005 clamav-milter version 0.80j on betty.holding.local X-Virus-Status: Clean Cc: help-gnats@gnu.org Subject: Removing libiberty (was Re: gnatsd problems with 4.0.1) X-BeenThere: help-gnats@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion about GNU GNATS List-Archive: List-Post: List-Help: List-Subscribe: , Sender: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org Errors-To: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org X-SW-Source: 2005-q1/txt/msg00022.txt.bz2 On Mon, 07 Feb 2005 09:09:20 -0800 "Mark D. Baushke" wrote: > Mike M. Volokhov writes: [snip] > > So, only six functions are used by GNATS, when libiberty provides about > > 40. Only two functions (asprintf and vasprintf) are nor POSIX nor > > standard C relevant (but included in both GNU and BSD libc). Three > > functions (xstrdup, xmalloc, xrealloc) are totally libiberty-own, but > > can be easy replaced with their standard equivalents. > > > > Thus, I propose to eliminate dependency on libiberty completely. > > > > Any comments? > > I would suggest consideration of including the GNULIB versions of those > functions as an alternative. Some libiberty functions, such as getopt, was moved to GNU, BSD and other C libraries. Many (like some x* ones) are very simple. Please try a patch (see my another message within "Removing libiberty" topic) which utilizes many functions from standard libc, shipped with build OS. Another reason to use libc native to OS, is optimization. Anyway, as for me, GNULIB is better way than have libiberty in tree. Thanks for pointing it out! [snip] > The typical approach would be to create a lib and m4 directory for > including the relevant code from a gnulib checkout directory into the > gnats source base. There is a tool that can be used to pull into the > gnats tree any module that GNULIB provides. Does GNULIB provides the shared library (.so)? If so, there is would no need to create extra directories in GNATS tree. -- Mishka. _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnats