Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

[SOLVED] x86 on amd64

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
OtonVM
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 103
Joined: Fri Dec 30, 2005 4:03 pm
Location: Slovenia

[SOLVED] x86 on amd64

  • Quote

Post by OtonVM » Thu Jun 08, 2006 6:02 pm

Hello!

A really quick yes/no question: Can I install a pure 32bit system with the amd64 livecd?

Thank you!
Last edited by OtonVM on Thu Jun 08, 2006 6:25 pm, edited 1 time in total.
Top
Enlight
Advocate
Advocate
User avatar
Posts: 3519
Joined: Thu Oct 28, 2004 9:42 am
Location: Alsace (France)

  • Quote

Post by Enlight » Thu Jun 08, 2006 6:05 pm

yes! do as if you had an athlon-xp.
Top
ksp7498
Apprentice
Apprentice
User avatar
Posts: 225
Joined: Thu Jun 08, 2006 5:54 pm
Location: North Carolina - US

  • Quote

Post by ksp7498 » Thu Jun 08, 2006 6:12 pm

^ yeah just do it as an athlon xp and add on sse2 support. -march=athlon-xp -msse2 would work great.
“Isn’t it enough to see that a garden is beautiful without having to believe that there are fairies at the bottom of it too?”
– Douglas Adams
Top
OtonVM
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 103
Joined: Fri Dec 30, 2005 4:03 pm
Location: Slovenia

  • Quote

Post by OtonVM » Thu Jun 08, 2006 6:24 pm

Ok, thank you both! It's just that the i686 livecd fails to detect stuff whareas amd64 works...
Top
Enlight
Advocate
Advocate
User avatar
Posts: 3519
Joined: Thu Oct 28, 2004 9:42 am
Location: Alsace (France)

  • Quote

Post by Enlight » Fri Jun 09, 2006 9:06 am

ksp7498 wrote:^ yeah just do it as an athlon xp and add on sse2 support. -march=athlon-xp -msse2 would work great.
and -msse3 if you have the pni flag in /proc/cpuinfo
Top
LinuxMan
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 83
Joined: Sat Sep 18, 2004 10:18 am
Location: Ukraine / Ternopil

  • Quote

Post by LinuxMan » Fri Jun 09, 2006 10:44 am

No. Need -march=athlon64 -msse3 . With these CFLAGS build 32bit executable but with optimizations for athlon64
SORRY FOR MY VERY VERY VERY VERY BAD ENGLISH
Top
Enlight
Advocate
Advocate
User avatar
Posts: 3519
Joined: Thu Oct 28, 2004 9:42 am
Location: Alsace (France)

  • Quote

Post by Enlight » Fri Jun 09, 2006 11:49 am

LinuxMan wrote:No. Need -march=athlon64 -msse3 . With these CFLAGS build 32bit executable but with optimizations for athlon64
you're right as "-march=athlon64" is like -"mtune=athlon64 -mmmx msse{,2,3} -m3dnow{,ext}"

Now I fscking wonder if "-mtune={athlon-xp,athlon64}" are similar or if alignements variables changes, and in this case, wich one works best for a 32 bit install (or multilib with -m32).
Top
OtonVM
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 103
Joined: Fri Dec 30, 2005 4:03 pm
Location: Slovenia

  • Quote

Post by OtonVM » Fri Jun 09, 2006 1:41 pm

For now I put CFLAGS="-O2 -march=athlon-xp -pipe -msse2 -msse3" and I'm pretty happy with them. I have no need for all the optimization on this world. This should be enough and stable. I found many things that didn't compile with athlon64 and I was getting sick of it. That's why I'm doing this in the first place.
Top
CaptainDangeax
n00b
n00b
User avatar
Posts: 21
Joined: Wed Mar 15, 2006 9:14 am
Location: Rennes, France

  • Quote

Post by CaptainDangeax » Sun Jun 11, 2006 5:57 pm

If you're using a 32bits kernel, DON'T set march=k8 or march=athlon64, you will generate 64bits progs and they won't run. As said before, the best is -march=athlon-xp with the corrects switches.
Last edited by CaptainDangeax on Sun Jun 11, 2006 6:30 pm, edited 1 time in total.
the map is not the territory.
Military plans are at best 50% reliable; if more, war would only have winners.
Athlon64 X2 4200+, Gigabyte s969 NForce3 Mainboard, 1GB Ram, NVidia 6600 GT 128MB graphic card, Gentoo 2005.1 for X86_64
Top
OtonVM
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 103
Joined: Fri Dec 30, 2005 4:03 pm
Location: Slovenia

  • Quote

Post by OtonVM » Sun Jun 11, 2006 6:04 pm

Exactly! :D
Top
htranou
Tux's lil' helper
Tux's lil' helper
Posts: 96
Joined: Mon May 08, 2006 1:33 pm

  • Quote

Post by htranou » Sun Jun 11, 2006 7:34 pm

CaptainDangeax wrote:If you're using a 32bits kernel, DON'T set march=k8 or march=athlon64, you will generate 64bits progs and they won't run. As said before, the best is -march=athlon-xp with the corrects switches.
Actually, you can. If GCC was built to build for i686 (or whatever x86 you put), it will only build those. I have a 32bit system with march=athlon64, and it works fine.

Though, athlon64 was only introduced in GCC 3.4, but since 3.4 is now in the stable tree...
Top
Post Reply

11 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic