|This article is an orphan, as no other articles link to it. Please introduce links to this page from ; try the Find link tool for suggestions. (February 2009)|
|This article does not cite any references or sources. (November 2014)|
cpuinfo falsification is a lowest common denominator technique that can be used on GNU operating systems to provide backwards compatible behaviour of the compiler and software tools. This technique is typically used on IBM compatible computers using 80x86 series processors, but can be used on other architectures, where applicable.
On GNU based operating systems, some software tools, such as the compiler and package building tools, detect CPU specific extensions that are incompatible with existing machines. This may cause incompatibility issues during compilation or operation of software on computers being utilized as backward compatible replacements.
The cpuinfo falsification project
The cpuinfo falsification project provides an assortment of patches to the GNU operating system to provide i386 compatible behaviour of the compiler and software tools without the need for explicit cross compilation.
# The setarch utility does not work at this time $ setarch i386 $ uname -m i686
It's not working.
The uname_hack kernel module causes generic architecture information to be provided by the kernel.
$ uname -m i686
This is no good.
$ insmod uname_hack.ko $ uname -m i386
This will work just fine on a Pentium
if [ -e /etc/cpuinfo] ; then mount—bind /etc/cpuinfo /proc/cpuinfo fi
|This computer programming–related article is a stub. You can help Wikipedia by expanding it.|
|This Linux-related article is a stub. You can help Wikipedia by expanding it.|
|This free software–related article is a stub. You can help Wikipedia by expanding it.|