From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DtjE2-0007la-VT for garchives@archives.gentoo.org; Sat, 16 Jul 2005 09:44:51 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6G9iIJA029007; Sat, 16 Jul 2005 09:44:18 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6G9iIG9014618 for ; Sat, 16 Jul 2005 09:44:18 GMT Message-Id: <200507160944.j6G9iIG9014618@robin.gentoo.org> Received: from lark.gentoo.osuosl.org ([140.211.166.177] helo=lark.gentoo.org) by smtp.gentoo.org with smtp (Exim 4.43) id 1DtjDu-0003Eg-QI for gentoo-doc-cvs@lists.gentoo.org; Sat, 16 Jul 2005 09:44:43 +0000 Received: by lark.gentoo.org (sSMTP sendmail emulation); Sat, 16 Jul 2005 09:44:34 +0000 From: "Xavier Neys" Date: Sat, 16 Jul 2005 09:44:34 +0000 To: gentoo-doc-cvs@lists.gentoo.org Subject: [gentoo-doc-cvs] cvs commit: gentoo-amd64-faq.xml Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-doc-cvs@gentoo.org Reply-to: docs-team@lists.gentoo.org X-Archives-Salt: 8fe849f1-ad6a-4c68-9a7d-53b71e3864f1 X-Archives-Hash: 2f90796782f6912345a1a437b21e2468 neysx 05/07/16 09:44:34 Modified: xml/htdocs/doc/en metadoc.xml Added: xml/htdocs/doc/en gentoo-amd64-faq.xml Log: #99168 New AMD64/FAQ Revision Changes Path 1.80 +7 -2 xml/htdocs/doc/en/metadoc.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/metadoc.xml?rev=1.80&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/metadoc.xml?rev=1.80&content-type=text/plain&cvsroot=gentoo diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/metadoc.xml.diff?r1=1.79&r2=1.80&cvsroot=gentoo Index: metadoc.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/metadoc.xml,v retrieving revision 1.79 retrieving revision 1.80 diff -u -r1.79 -r1.80 --- metadoc.xml 14 Jul 2005 18:11:42 -0000 1.79 +++ metadoc.xml 16 Jul 2005 09:44:33 -0000 1.80 @@ -1,9 +1,9 @@ - + -1.16 +1.17 swift neysx @@ -77,6 +77,7 @@ /doc/en/migration-to-2.6.xml /doc/en/altinstall.xml /doc/en/faq.xml + /doc/en/gentoo-amd64-faq.xml /doc/en/gentoo-alpha-compaq-tools.xml /doc/en/handbook/handbook-alpha.xml /doc/en/handbook/handbook-amd64.xml @@ -431,6 +432,10 @@ faq faq + + faq + gentoo-amd64-faq + faq gentoo-ppc-faq 1.1 xml/htdocs/doc/en/gentoo-amd64-faq.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/gentoo-amd64-faq.xml?rev=1.1&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/gentoo-amd64-faq.xml?rev=1.1&content-type=text/plain&cvsroot=gentoo Index: gentoo-amd64-faq.xml =================================================================== Gentoo Linux/AMD64 Frequently Asked Questions Luis Medinas Gerald J. Normandin Jr. Simon Stelling Xavier Neys This is the Gentoo Linux/AMD64 Frequently Asked Questions 1.0 2005-07-16 Questions
Introduction to Gentoo/AMD64 FAQ

This document contains the most commonly asked questions about Gentoo/AMD64. We intend to help and provide useful information about Gentoo/AMD64. Some of these questions can be found in forums, irc or mailing lists. If you have suggestions or questions about this FAQ, you are welcome to send an e-mail to the authors explaining the problem.

Installation
  • What CFLAGS should I use for AMD64/EM64T?
  • What kernel should I use?
  • Will I have a performance upgrade if I use 64-bit system instead of 32-bit?
  • How do I get 32-bit emulation for my system?
  • What is multilib and how can I use it?
  • How do I create a 32-bit chroot?
  • Can I upgrade from my x86 system to amd64 by doing emerge -e world?
  • Can I use ReiserFS4?
Hardware
  • Will my binary NVIDIA/ATI drivers work?
  • How do I use Cool'n'Quiet/Powernow features?
Applications
  • Can I get Macromedia Flash working?
  • Can I get OpenOffice.org working?
  • How do I get java working in my browser?
  • I want to install package foo, but emerge says: (masked by: ~amd64 keyword)
  • I want to install package foo, but emerge says: (masked by: missing keyword)
How can help I the Gentoo/AMD64 project?
  • How do I report bugs?
  • How can I help?
Other Resources
  • Where can I get more help or information about Gentoo/AMD64?
Installation
What CFLAGS should I use for AMD64/EM64T?

You should use simple CFLAGS to avoid future problems with your system. For example, you should use CFLAGS="-march=k8 -O2 -pipe" for Athlon64 or Opteron and CFLAGS="-march=nocona -O2 -pipe" for a EM64T processor. If you plan to use a 32-bit chroot, you should use CFLAGS="-march=athlon-xp -O2 -pipe -msse2" for a AMD64 processor and for a EM64T, you should use CFLAGS="-march=pentium4 -O2 -pipe" inside the chroot.

-march=k8 is the same as -march=athlon64 and -march=opteron. You should never stick -fPIC, -m32 or -m64 into your CFLAGS. They are automatically added whenever they are needed. Please also note that the -Os flag is currently not supported.
What kernel should I use for AMD64?

You can use almost all kernel sources available in Portage. We recommend to use gentoo-sources because it is a special flavor kernel designed for Gentoo Linux. It contains lots of AMD64-specific patches and therefore is the only flavor supported by Gentoo/AMD64. You can try vanilla-sources as well. If you feel brave or you need extra hardware support, you can always try the experimental kernel from Andrew Morton called mm-sources.

You should watch out for some kernel features which are not tested well, such as PREEMPT.
Will I have a performance upgrade if I use 64-bit system instead of 32-bit?

That is a difficult question to answer. In some cases, you will experience a performance improvement, in other cases you will not. For everyday use, there is nearly no difference between 64-bit and 32-bit. 64-bit is generally faster when it comes to floating point computing which is normally the case in multimedia applications and 3D rendering. This article may interest you. There's also a nice thread in our forums.

-- gentoo-doc-cvs@gentoo.org mailing list