You are not logged in.

#1 2019-11-16 18:30:17

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,033
Website

Installation of pentium4 optimized packages

If your CPU supports SSE2 opcodes you can use the 'pentium4' architecture.

You can test if your CPU support SSE2 opcodes with:

grep sse2 /proc/cpuinfo

or

lscpu | egrep -i 'sse2'


The installation and transition steps are:

- Install the i686 version from the i686 ISO (there is no pentium4 ISO)
- Check if pacman-conf Architecture returns pentium4, synch repos with

pacman -Syy

- Do a full update to transition to the pentium4 packages with:

pacman -Qqn | pacman -S -

- If you build packages from the AUR, make sure you set the setting also in /etc/makepkg.conf (when pacman for pentium4 is installed, the values should already be set correctly - possibly after merging the .pacnew files):

CARCH="pentium4"
CHOST="i686-pc-linux-gnu"
...
CFLAGS="-march=pentium4 -mtune=generic -O2 -pipe -fno-plt"
CXXFLAGS="-march=pentium4 -mtune=generic -O2 -pipe -fno-plt"

Note when building a package from the AUR, you have to add pentium4 to the architecture list of the package:

arch=('pentium4' 'i686' 'x86_64' 'armv7h')

Offline

#2 2020-08-31 22:13:48

egils
Member
Registered: 2020-08-31
Posts: 10

Re: Installation of pentium4 optimized packages

I only read this after install. My sse2 CPU was autodetected during install and everything runs smooth. Thanks! big_smile

Offline

Board footer

Powered by FluxBB