[TriLUG] Kernel processor family in VM
dbrain at gmail.com
Mon May 1 10:49:33 EDT 2006
On 5/1/06, Owen Berry <oberry at trilug.org> wrote:
> When compiling the Kernel, can I choose the CPU family to be Pentium III
> and have it work on both machines?
I believe so, your applications will be compiled based on your CFLAGS,
not what hardware you actually have, so any problems you encounter
would be on your VM machine (I don't think you'll see any, the P4 has
more functionallity than the PIII) - but if you want to be safe just
set 'mcpu' rather than 'march' for the CFLAGS in /etc/make.conf, that
way you will retain compatibility between CPUs.
You'll also need to build a kernel with your target
architecture/hardware in mind.
More information about the TriLUG