-   Linux - Distributions (
-   -   A question on GCC march setting (

satimis 08-21-2006 10:28 AM

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?



weibullguy 08-21-2006 10:35 AM


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.

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