Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Confused about CPU type in kernel compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
gunoo
n00b
n00b


Joined: 30 Sep 2002
Posts: 1

PostPosted: Mon Sep 30, 2002 9:27 pm    Post subject: Confused about CPU type in kernel compile Reply with quote

Hi all,

I have been gradually plowing through a new Gentoo install, my first for this distribution. I downloaded the latest available stage 1 ISO, and compiled through stages 1 and 2. I have come to the point where I need to compile a kernel. When I'm in the menuconfig under "Processor type and features" the first line lets me set "Processor family." Well I'm doing this on an old Pentium II/400 I had lying around (no rush obviously) so I figure I'll select "Pentium II" in the menu. However it seems that each processor type has two menu entries, a plain entry and then another with "gcc3.1" appended on. I know that this version of Gentoo uses gcc 3.2 So should I treat the "gcc3.1" menu options as though they say "gcc 3.1 or later" and pick that one, or should I really be using the other option? I've compiled kernels before but this is the first time I've seen reference to compiler versions in the configuration, so it kind of threw me. I would appreciate any insight on this. Thank you for reading-
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Sep 30, 2002 9:41 pm    Post subject: Reply with quote

patches.txt wrote:
XX_gcc3-compile-opts

From Michael Cohen <mjc@kernel.org>

This patch adds configure options to optimize the
kernel compile for particular architectures based
on the more specific gcc3.X architecture settings

So I would say it means GCC 3.x, and using the 3.1 setting for 3.2 sounds good.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Mon Sep 30, 2002 10:19 pm    Post subject: Reply with quote

Sounds good for me too. I was using an old .config from my gentoo 1.2 and thus I forgot to set it as gcc 3.x. It works if you don't use it, but I think you can get more from gcc 3.2 using this option.

Recompiling kernel............

rac wrote:
patches.txt wrote:
XX_gcc3-compile-opts

From Michael Cohen <mjc@kernel.org>

This patch adds configure options to optimize the
kernel compile for particular architectures based
on the more specific gcc3.X architecture settings

So I would say it means GCC 3.x, and using the 3.1 setting for 3.2 sounds good.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Oct 01, 2002 12:10 am    Post subject: Reply with quote

I take it this option appears in a Gentoo sources kernel? It isn't there under vanilla 2.4.19-r1.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Tue Oct 01, 2002 1:03 am    Post subject: Reply with quote

I' m using gentoo-sources 2.4.19-r9

kanuslupus wrote:
I take it this option appears in a Gentoo sources kernel? It isn't there under vanilla 2.4.19-r1.
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Oct 01, 2002 3:58 am    Post subject: Reply with quote

kanuslupus wrote:
I take it this option appears in a Gentoo sources kernel? It isn't there under vanilla 2.4.19-r1.

Yeah, it is. It appeared as patch #18 gcc3-compile-opts for me when I emerged -r9.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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