From 71aea52cb7e88081e0a6479e002f370c763a20cf Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 7 Mar 2019 10:08:39 +0100 Subject: architectures page new --- architecture.php | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ index.php | 1 + 2 files changed, 69 insertions(+) create mode 100644 architecture.php diff --git a/architecture.php b/architecture.php new file mode 100644 index 0000000..b7227d1 --- /dev/null +++ b/architecture.php @@ -0,0 +1,68 @@ + array( + 'CMOV' => 0, + 'MMX' => 0, + 'SSE' => 0, + 'SSE2' => 0 + ), + 'i686' => array( + 'CMOV' => 1, + 'MMX' => 1, + 'SSE' => 1, + 'SSE2' => 0 + ), + 'pentium4 (not yet implemented)' => array( + 'CMOV' => 1, + 'MMX' => 1, + 'SSE' => 1, + 'SSE2' => 1 + ) +); + +print_header('Architecture Overview'); +print "
\n"; +print " \n"; +print " \n"; +print " \n"; +foreach ($flags['i486'] as $flag => $dummy) { + print " \n"; +} +print " \n"; +$oddity = "odd"; +foreach ($flags as $arch => $arch_flags) { + print " \n"; + print " \n"; + foreach ($arch_flags as $flag => $required) { + print " \n"; + } + print " \n"; + if ($oddity == "odd") + $oddity = "even"; + else + $oddity = "odd"; +} +print "
\n"; +print " Architecture\n"; +print " \n"; + print " " . $flag . "\n"; + print "
\n"; + print " " . $arch . "\n"; + print " \n"; + if ($required == 1) + print " \n"; + else + print " \n"; + print " " . $flag . " is "; + if ($required == 0) + print "not "; + print "required"; + print " \n"; + print "
\n"; +print "
\n"; +print_footer(); diff --git a/index.php b/index.php index 8098d69..f47fe63 100644 --- a/index.php +++ b/index.php @@ -43,6 +43,7 @@ print_header("", "home");

Currently we have official packages optimized for the i686 architecture. Also most(ly) non-graphical packages are available for i486, too. + Have a look at the required cpu flags to decide which architecture is the right one for you. Most packages from Arch Linux's community-operated package repository are also compatible with Arch Linux 32. -- cgit v1.2.3-70-g09d2