You are not logged in.

#1 2008-04-22 21:34:35

André_23
Member
Registered: 2008-04-22
Posts: 3

CFalgs

First of all, sorry for my bad English tongue
I'm trying to make a optimization in my computer, and I want to compile some packages to my architecture, a Pentium 4, but there are one think in Archlinux's wiki, in the CFalgs that we must put in /etc/makepkg.conf, that I don't understand:

Pentium 4/Pentium 4 Mobile

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
Pentium 4/Prescott/Celeron 'D'/Pentium 'D'/Core Solo/Core Duo

    * i686 

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"

There are 2 entry to Pentium 4, and I don't know what I must use. Can someone help me?

Offline

#2 2008-04-22 21:47:55

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: CFalgs

Find out your cpu family and model:

cat /proc/cpuinfo

Family should be 15. If model is 0-2 then choose 'march=pentium4'. If model is 3-4 then choose 'march=prescott'.


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#3 2008-04-22 21:54:59

André_23
Member
Registered: 2008-04-22
Posts: 3

Re: CFalgs

Model is 1, so I must use 'march=pentium4', right? wink A big thanks:)

Offline

Board footer

Powered by FluxBB