LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
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.

Notices



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

Rep: Reputation: 53
A question on GCC march setting


Hi folks,

AMD Athlon64 PC

I'm reading "Gentoo Linux AMD64 Handbook"
http://www.gentoo.org/doc/en/handboo...book-amd64.xml
and come to following section;
5.e. Configuring the Compile Options
http://www.gentoo.org/doc/en/handboo...?part=1&chap=5

Code Listing 17: The GCC march setting
Code:
# AMD64 users who want to use a native 64 bit system should use -march=k8
#EM64T users should use -march=nocona
-march=athlon-xp
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?

TIA

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

Rep: Reputation: 238Reputation: 238Reputation: 238
Quote:
athlon-xp
Improved AMD Athlon CPU with MMX, 3dNOW!, enhanced 3dNOW! and full SSE instruction set support.
Quote:
k8
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.
 
  


Reply


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


All times are GMT -5. The time now is 09:51 AM.

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