Difference between revisions of "Installing Gentoo on an X240"

From ThinkWiki
Jump to: navigation, search
(←Created page with '=Installing Gentoo on a Thinkpad x240= These notes refer to installation of Gentoo on an {{X240}} system ==/etc/portage/make.conf== CHOST="x86_64-pc-linux-gnu" CFLAGS...')
 
Line 1: Line 1:
=Installing Gentoo on a Thinkpad x240=
+
 
These notes refer to installation of Gentoo on an {{X240}} system
+
These notes refer to the installation of Gentoo on an {{X240}} system. The notes are NOT step-by-step instructions, but they are supposed to provide the necessary information to simplify the installation (i.e. configuration files, etc).
==/etc/portage/make.conf==
+
=/etc/portage/make.conf=
 +
The "core-avx" CFLAGS option optimises for the new Haswell instruction set:
 
  CHOST="x86_64-pc-linux-gnu"
 
  CHOST="x86_64-pc-linux-gnu"
 
  CFLAGS="-march=core-avx2 -O2 -pipe"
 
  CFLAGS="-march=core-avx2 -O2 -pipe"

Revision as of 09:43, 7 April 2014

These notes refer to the installation of Gentoo on an X240 system. The notes are NOT step-by-step instructions, but they are supposed to provide the necessary information to simplify the installation (i.e. configuration files, etc).

/etc/portage/make.conf

The "core-avx" CFLAGS option optimises for the new Haswell instruction set:

CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx2 -O2 -pipe"
CXXFLAGS="${CFLAGS}"

source: Safe CFLAGS Template:X240