View previous topic :: View next topic |
Author |
Message |
Vein n00b

Joined: 03 Jul 2004 Posts: 1
|
Posted: Sat Jul 03, 2004 1:37 pm Post subject: Amd64 |
|
|
Hi
I'm trying to install gentoo on Amd64, with the help of your "Linux/Amd64 Handbook" and it was going well until I came to the CFLAGS.
The handbook says that you should not set the march flag to 'athlon-xp', like it is done in the handbook, but I wonder what you should set the march flag to, since all I seem to get is an error message saying:
"The cpu you chose does not support the 64-chipset"
Please help me
// Vein
PS I have looked in the make.conf.example file, but I can't find any amd64 specific settings DS |
|
Back to top |
|
 |
nixnut Bodhisattva


Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sat Jul 03, 2004 2:02 pm Post subject: |
|
|
CHOST="x86_64-pc-linux-gnu" _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
 |
Deathwing00 Bodhisattva


Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Sat Jul 03, 2004 2:47 pm Post subject: |
|
|
Moved from Installing Gentoo. |
|
Back to top |
|
 |
svollmer n00b


Joined: 12 Sep 2003 Posts: 16 Location: Trier, Germany
|
Posted: Sat Jul 03, 2004 3:49 pm Post subject: Re: Amd64 |
|
|
Hi!
Vein wrote: | The handbook says that you should not set the march flag to 'athlon-xp', like it is done in the handbook, but I wonder what you should set the march flag to |
If you use the normal 2004.1 AMD64 Live CD, just don't set the -march flag. The included GCC 3.3.3 does not recognize Athlon64-specific options.
When you upgrade to GCC 3.4 later, you can set "-march=athlon64" if you have an Athlon 64.
HTH
- Stephan
[Edit: I was confused too by that passage in the AMD64 install manual.] |
|
Back to top |
|
 |
celloandy Tux's lil' helper

Joined: 29 Jan 2003 Posts: 113 Location: Washington, DC
|
Posted: Sun Jul 04, 2004 4:33 am Post subject: Re: Amd64 |
|
|
svollmer wrote: |
When you upgrade to GCC 3.4 later, you can set "-march=athlon64" if you have an Athlon 64.
|
A little off-topic, but is it possible to do the whole bootstrap and everything with gcc 3.4, right from the start? If so, how is it done? I can't find this clearly explained anywhere in the docs.
Andrew |
|
Back to top |
|
 |
supernovae Tux's lil' helper


Joined: 22 Jun 2004 Posts: 82
|
Posted: Sun Jul 04, 2004 5:06 am Post subject: Re: Amd64 |
|
|
celloandy wrote: | svollmer wrote: |
When you upgrade to GCC 3.4 later, you can set "-march=athlon64" if you have an Athlon 64.
|
A little off-topic, but is it possible to do the whole bootstrap and everything with gcc 3.4, right from the start? If so, how is it done? I can't find this clearly explained anywhere in the docs.
Andrew |
Yep, did it myself not all that long ago. Just use the stage files from here http://dev.gentoo.org/~lv/stages/ instead of the default AMD64 ones. Should work just like GCC 3.3 accept that you can use AMD64 CFLAGS. |
|
Back to top |
|
 |
|