Changeset View
Changeset View
Standalone View
Standalone View
head/share/man/man7/arch.7
Show First 20 Lines • Show All 134 Lines • ▼ Show 20 Lines | |||||
type machine representation uses 4 bytes, | type machine representation uses 4 bytes, | ||||
while | while | ||||
.Vt long | .Vt long | ||||
and | and | ||||
.Vt void * | .Vt void * | ||||
are 8 bytes. | are 8 bytes. | ||||
.El | .El | ||||
.Pp | .Pp | ||||
Compilers define the | |||||
.Dv _LP64 | |||||
symbol when compiling for an | |||||
.Dv LP64 | |||||
ABI. | |||||
.Pp | |||||
Some machines support more than one | Some machines support more than one | ||||
.Fx | .Fx | ||||
ABI. | ABI. | ||||
Typically these are 64-bit machines, where the | Typically these are 64-bit machines, where the | ||||
.Dq native | .Dq native | ||||
.Dv LP64 | .Dv LP64 | ||||
execution environment is accompanied by the | execution environment is accompanied by the | ||||
.Dq legacy | .Dq legacy | ||||
▲ Show 20 Lines • Show All 259 Lines • ▼ Show 20 Lines | |||||
.Ss Important Xr make 1 variables | .Ss Important Xr make 1 variables | ||||
Most of the externally settable variables are defined in the | Most of the externally settable variables are defined in the | ||||
.Xr build 7 | .Xr build 7 | ||||
man page. | man page. | ||||
These variables are not otherwise documented and are used extensively | These variables are not otherwise documented and are used extensively | ||||
in the build system. | in the build system. | ||||
.Bl -tag -width "MACHINE_CPUARCH" | .Bl -tag -width "MACHINE_CPUARCH" | ||||
.It Dv MACHINE | .It Dv MACHINE | ||||
Represent the hardware platform. | Represents the hardware platform. | ||||
This is the same as the native platform's | This is the same as the native platform's | ||||
.Xr uname 1 | .Xr uname 1 | ||||
.Fl m | .Fl m | ||||
output. | output. | ||||
It defines both the userland / kernel interface, as well as the | It defines both the userland / kernel interface, as well as the | ||||
bootloader / kernel interface. | bootloader / kernel interface. | ||||
It should only be used in these contexts. | It should only be used in these contexts. | ||||
Each CPU architecture may have multiple hardware platforms it supports | Each CPU architecture may have multiple hardware platforms it supports | ||||
▲ Show 20 Lines • Show All 105 Lines • Show Last 20 Lines |