Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Building i386 kernel on AMD64
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
plegault
n00b
n00b


Joined: 30 Jan 2004
Posts: 36

PostPosted: Fri Jan 30, 2004 9:02 pm    Post subject: Building i386 kernel on AMD64 Reply with quote

Hello,

I am currently running a dual opteron Gentoo box and I was wondering how I would go about compiling an i386 kernel (not to boot, simply for benchmarking). I have already setup gcc with multilib so that it compiles with -m32, I ran make "ARCH=i386" menuconfig to prepare the config file.

Which flags should be specified during the actual "make" of the kernel? Should I do anything about the CROSS_COMPILE flag?

Thanks,

Phil

plegault@coradiant.com
p_legaul@mindless.com
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31855
Location: 56N 3W

PostPosted: Fri Jan 30, 2004 9:10 pm    Post subject: Reply with quote

plegault,

The kernel does its own thing with CCFLAGS. Configure the kernel for the target processor of you choice with make xconfig.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
plegault
n00b
n00b


Joined: 30 Jan 2004
Posts: 36

PostPosted: Fri Jan 30, 2004 9:14 pm    Post subject: Reply with quote

Yes, the processor type has been specified in "make menuconfig" but the actual make still produces errors.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 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