Talk:Makepkg.conf

From ArchWiki
Revision as of 03:19, 28 July 2009 by Matthewbauer (talk | contribs) (AMD Turion 64 Mobile?)
Jump to navigation Jump to search

New versions of gcc support -mrach=native which detects which architecture to use at build time. This seems to be the best solution since users may be confused about their hardware or new architecture types are added to gcc for new processers march will continue to work. I am not an expert about gcc and wondering if there is a reason not to replace the whole discussion of architecture with -march=native and be done with it.


Why does not x86-64 + "Core 2 Duo/Quad/Xeon/Pentium 4 P6xx" have -fomit-frame-pointer?


---

I have a 64-bit quad core xeon (x3360). Should I use nocona or core2? This wiki tells me I should use both - I'm confused:

Core 2 Duo/Quad/Xeon/Pentium 4 P6xx
* x86-64 
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CXXFLAGS="${CFLAGS}"
[...]
Note: for gcc 4.3.0 for Core2Duo (or Core2Quad) and x86_64 set CFLAGS="-march=core2 -O2 -pipe"

Which part of the text should I listen to? I think a rewrite of that part would be great.

--Trontonic 08:25, 26 March 2009 (EDT)

AMD Turion 64 Mobile?

cat /proc/cpuinfo | grep "model name"
model name	: AMD Turion(tm) 64 Mobile Technology MK-36

Should I use the Athlon 64 settings? --Matthewbauer 23:17, 27 July 2009 (EDT)