NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How to compile kernel for i686 instead of i386?



On Thu, Oct 25, 2012 at 10:44:05PM +0530, Mayuresh wrote:
> Does the MACHINE variable affect only compiler options or anything else?

Nothing at all, it is just the name of the port. You can ignore it for
optimization purposes.

Check pkgsrc/devel/cpuflags and add some COPTS+= -f... to your /etc/mk.conf,
and something like:

makeoptions   COPTS="-O3 -march=... -mtune=..."

to your kernel config file.

Martin


Home | Main Index | Thread Index | Old Index