View previous topic :: View next topic |
Author |
Message |
plegault n00b
Joined: 30 Jan 2004 Posts: 36
|
Posted: Fri Jan 30, 2004 9:02 pm Post subject: Building i386 kernel on AMD64 |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54659 Location: 56N 3W
|
Posted: Fri Jan 30, 2004 9:10 pm Post subject: |
|
|
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 |
|
|
plegault n00b
Joined: 30 Jan 2004 Posts: 36
|
Posted: Fri Jan 30, 2004 9:14 pm Post subject: |
|
|
Yes, the processor type has been specified in "make menuconfig" but the actual make still produces errors. |
|
Back to top |
|
|
|