Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions
User Name
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.


  Search this Thread
Old 08-21-2006, 11:28 AM   #1
Senior Member
Registered: Apr 2003
Posts: 3,673

Rep: Reputation: 55
A question on GCC march setting

Hi folks,

AMD Athlon64 PC

I'm reading "Gentoo Linux AMD64 Handbook"
and come to following section;
5.e. Configuring the Compile Options

Code Listing 17: The GCC march setting
# AMD64 users who want to use a native 64 bit system should use -march=k8
#EM64T users should use -march=nocona
If I want to use native 64 bit system and set "-march=k8", can 32 bit Linux software run on Gentoo?

What does "-march=athlon-xp" refer to?


Old 08-21-2006, 11:35 AM   #2
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
Improved AMD Athlon CPU with MMX, 3dNOW!, enhanced 3dNOW! and full SSE instruction set support.
AMD K8 core based CPUs with x86-64 instruction set support. (This supersets MMX, SSE, SSE2, 3dNOW!, enhanced 3dNOW! and 64-bit instruction set extensions.)
These are described in the gcc manual in section 3.17.

Yes, 32-bit applications will run in 64-bit Gentoo.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
setting up gcc Captain Morgan Linux - Newbie 1 06-28-2005 04:09 PM
Setting arm-gcc path? karfei00 Linux - General 0 06-16-2004 05:59 AM
gcc march agdepus Programming 8 05-26-2004 10:11 AM
Setting up GCC for cross-compile ugenn Linux - Software 0 02-20-2003 10:08 AM
Setting Up GCC Tezdread Linux - General 4 09-07-2002 11:12 PM > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 07:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration