Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Performing an x86 install on an AMD64 system.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
v1p3r
n00b
n00b


Joined: 07 Aug 2005
Posts: 1
Location: UK

PostPosted: Sun Aug 07, 2005 10:38 am    Post subject: Performing an x86 install on an AMD64 system. Reply with quote

Hullo Gentooers :P

Since this is my first shot at Gentoo, I think it would make more sense to use the tried and tested 32bit x86 packages. However I'm not really sure how I should go about it.

1. Should I use an x86 installcd, or an AMD64 one?
2. Should I set my CHOST to i3/4/5/686-pc-linux-gnu, or x86_64-pc-linux-gnu?
3. What -march flag should I use?

Thanks in advance :)
- v1p3r
Back to top
View user's profile Send private message
ExZombie
Apprentice
Apprentice


Joined: 29 May 2004
Posts: 164

PostPosted: Sun Aug 07, 2005 10:48 am    Post subject: Reply with quote

Just pretend you are on an Athlon XP system and you will be fine -- that means using x86 install CD, 32 bit chost and all that. You can also enable an additional SSE cflag if you want, but I don't remember which (is it -msse2?).
Back to top
View user's profile Send private message
MacGoerk
n00b
n00b


Joined: 04 Aug 2005
Posts: 17

PostPosted: Sun Aug 07, 2005 8:32 pm    Post subject: Reply with quote

I did the same thing: x86 on AMD 64 and it works really fine.

Code:

CFLAGS="-march=athlon-xp -O2 -mcpu=i686"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"


should do it.
Back to top
View user's profile Send private message
ExZombie
Apprentice
Apprentice


Joined: 29 May 2004
Posts: 164

PostPosted: Mon Aug 08, 2005 1:46 pm    Post subject: Reply with quote

MacGoerk: I think your use of -mcpu is superfluous. Although I'm no expert on compiler flags, I'm pretty sure -march implies -mcpu. I think -march is stricter, meaning that code compiled with -march will not run on another kind of CPU, while the code compiled with -mcpu will.
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Mon Aug 08, 2005 2:23 pm    Post subject: Reply with quote

Please see Which CFLAGS to you use to install gentoo-x86 on Athlon64 ?

Moved from Installing Gentoo to Duplicate Threads.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum