Difference between revisions of "Talk:Makepkg.conf"

From ArchWiki
Jump to navigation Jump to search
(redirect; clear dated talk)
 
(15 intermediate revisions by 6 users not shown)
Line 1: Line 1:
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.
+
#REDIRECT [[Talk:makepkg]]
 
 
 
 
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.
 
 
 
--[[User:Trontonic|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? --[[User:Matthewbauer|Matthewbauer]] 23:17, 27 July 2009 (EDT)
 
:According to [http://en.gentoo-wiki.com/wiki/Safe_Cflags/AMD#Turion64_.2F_X2_.2F_Ultra Gentoo wiki], Turion setting is as follows (not same as Athlon 64):
 
<nowiki>== Turion64 / X2 / Ultra ==</nowiki>
 
 
 
32 bit:
 
<pre>
 
CHOST="i686-pc-linux-gnu"
 
CFLAGS="-march=athlon-xp -msse3 -O2 -pipe -fomit-frame-pointer"
 
CXXFLAGS="${CFLAGS}"
 
</pre>
 
 
 
64 bit:
 
<pre>
 
CHOST="x86_64-pc-linux-gnu"
 
CFLAGS="-march=k8 -msse3 -O2 -pipe"
 
CXXFLAGS="${CFLAGS}"
 
</pre>
 
:--[[User:Blowback|Blowback]] 04:16, 28 July 2009 (EDT)
 
 
 
 
 
== Mistakes and Confusion ==
 
I'd almost say we should copy the gentoo wiki in this area, it is much more complete in this area and it does a much better job of avoiding confusion.
 
--[[User:JonimusPrime|JonimusPrime]] 10:17, 30 October 2009 (EDT)
 
 
 
:I'm not sure which site to trust. Gentoo's article says "prescott" should be used for atom, which is false (atom should use core2). This leads me to believe that they might have other stuff wrong.
 
:To be honest I much rather delete this article and place a mention of "-march=native" in the main makepkg article. It has been working with Arch's gcc for a long time, and it's a whole lot simpler. This article is unnecessary.
 
:--[[User:Pacmanz|Pacmanz]] 11:11, 30 October 2009 (EDT)
 

Latest revision as of 16:50, 11 December 2010

Redirect to: