From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DMARC_MISSING, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=4.0.0 Received: from moutvdomng0.schlund.de (moutvdomng0.kundenserver.de [195.20.224.130]) by chiba.3jane.net (Postfix) with ESMTP id DE8E3ABD53 for ; Sat, 8 Jun 2002 08:45:55 -0500 (CDT) Received: from [172.19.20.63] (helo=mrvdomng2.kundenserver.de) by moutvdomng0.schlund.de with esmtp (Exim 3.22 #2) id 17GgXT-00029p-00 for gentoo-dev@gentoo.org; Sat, 08 Jun 2002 15:45:55 +0200 Received: from [217.85.222.2] (helo=eiche.ahsoftware) by mrvdomng2.kundenserver.de with esmtp (Exim 3.22 #2) id 17GgXS-0005gO-00 for gentoo-dev@gentoo.org; Sat, 08 Jun 2002 15:45:54 +0200 Received: from krabat.ahsoftware (krabat.ahsoftware [192.168.207.2]) by eiche.ahsoftware (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g58Djl301365 for ; Sat, 8 Jun 2002 15:45:47 +0200 Date: Sat, 08 Jun 2002 15:49:08 +0200 From: Alexander Holler To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] USE flags and static libs Message-ID: <214270000.1023544148@krabat.ahsoftware> In-Reply-To: <157640000.1023542200@krabat.ahsoftware> References: <157640000.1023542200@krabat.ahsoftware> X-Mailer: Mulberry/2.1.0 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: ea0ddda2-f8f9-411e-9ac9-a656891b5202 X-Archives-Hash: f0893fba8f83676dde1e2aa4367ce7fa Just as a hint for developers: --On Samstag, Juni 08, 2002 15:16:40 +0200 Alexander Holler wrote: > 1. Building all static libs without march flags. > > 2. Introduce a USE flag i386static > This could be used to build additional static libs with a postfix i386. > E.g. libncurses.a and libncurses_i386.a. This could be easily done replacing -march with -mcpu: CFLAGS=`echo $CFLAGS | sed -e 's/-march/-mcpu/'` The same applies to the CXXFLAGS. According to the gcc docs, this leads to binaries which are something optimized for the specific cpu but are running on all cpus. Alexander