-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

maxim wexler wrote:
> 
> For an 900A w/intel Atom?
> 
> This is what I get:
> 
> Warning: Your compiler supports the -march=native option which you
> may prefer

If you use this, then you 1) must be using >=sys-devel/gcc-4.2, and 2)
will always have the "best" optimization for your machine, so far as the
version of gcc you are using understands.

> Warning: Newer versions of GCC better support your CPU with -march=atom

In order to use this, you will need gcc-4.5, which hasn't been released yet.

> -march=core2 -mtune=pentium -mfpmath=sse.

This is the recommendation that the script actually made - it suggests
to use all of these.

> Now I'm confused. It says *my* compiler supports -march=native. Then
> it says "Newer versions". Isn't v4.3.2 new? It was from a new pkg about
> a month ago. Is it giving me a choice here? Can I really declare two
> -march variables? What about mtune and mfpath, are they meant to be
> "instead of" or "in addition to"? What goes in the kernel config? What
> in /etc/paludis/bashrc?

The newest version of gcc out right now is 4.4.0 (currently in
package.mask).  I would suggest setting CFLAGS="-O2 -march=native -pipe"
and CXXFLAGS="-O2 -march=native -pipe" in /etc/paludis/bashrc (assuming
that that is the proper location for those variables).

- --
ABCD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoXGvUACgkQOypDUo0oQOoDGgCfQdRS+hQtTVKIITl2UvExt5NH
6g4AoJvL7fC2+Gr2KlYIS3WqMnyeJ9qE
=1r28
-----END PGP SIGNATURE-----


Reply via email to