public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-dev] USE flags and static libs
  @ 2002-06-08 13:49 99% ` Alexander Holler
  0 siblings, 0 replies; 1+ results
From: Alexander Holler @ 2002-06-08 13:49 UTC (permalink / raw
  To: gentoo-dev

Just as a hint for developers:

--On Samstag, Juni 08, 2002 15:16:40 +0200 Alexander Holler 
<holler@ahsoftware.de> 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



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2002-06-08 13:16     [gentoo-dev] USE flags and static libs Alexander Holler
2002-06-08 13:49 99% ` Alexander Holler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox