Changeset View
Changeset View
Standalone View
Standalone View
head/share/man/man7/arch.7
Show First 20 Lines • Show All 444 Lines • ▼ Show 20 Lines | |||||
It is generally the common prefix for all the MACHINE_ARCH that | It is generally the common prefix for all the MACHINE_ARCH that | ||||
share the same implementation, though 'riscv' breaks this rule. | share the same implementation, though 'riscv' breaks this rule. | ||||
For example, | For example, | ||||
.Dv MACHINE_CPUARCH | .Dv MACHINE_CPUARCH | ||||
is defined to be mips for all the flavors of mips that we support | is defined to be mips for all the flavors of mips that we support | ||||
since we support them all with a shared set of sources. | since we support them all with a shared set of sources. | ||||
While amd64 and i386 are closely related, MACHINE_CPUARCH is not x86 | While amd64 and i386 are closely related, MACHINE_CPUARCH is not x86 | ||||
for them. | for them. | ||||
The FreeBSD source base supports amd64 and i386 with two | The | ||||
.Fx | |||||
source base supports amd64 and i386 with two | |||||
distinct source bases living in subdirectories named amd64 and i386 | distinct source bases living in subdirectories named amd64 and i386 | ||||
(though behind the scenes there's some sharing that fits into this | (though behind the scenes there's some sharing that fits into this | ||||
framework). | framework). | ||||
.It Dv CPUTYPE | .It Dv CPUTYPE | ||||
Sets the flavor of | Sets the flavor of | ||||
.Dv MACHINE_ARCH | .Dv MACHINE_ARCH | ||||
to build. | to build. | ||||
It is used to optimize the build for a specific CPU / core that the | It is used to optimize the build for a specific CPU / core that the | ||||
Show All 27 Lines |