32-bit code and libraries

What is the difference in KERN-CONF ,
Code:
nooption     COMPAT_FREEBSD32

In src.conf
Code:
WITHOUT_LIB32=yes

In make.conf
Code:
MK_LIB32=no
 
COMPAT_FREEBSD32 is for the kernel. WITHOUT_LIB32 is for your userland (/usr/lib32 and friends).
 
Usually the KERNCONF settings are required or are a prerequisite, for when turning on the respective setting for the World through src.conf.

Maybe not for every similar component but you can see for yourself. If something is turned on in src.conf and off in KERNCONF, the kernel can hang, buildworld may not compile, or that World feature can be missing.

The variable in make.conf depends on which it corresponds to.
 
Back
Top