Host machine information (host_machine extends build_machine)

Provides information about the host machine -- the machine on which the compiled binary will run. See Cross-compilation.

It has the same methods as build_machine.

When not cross-compiling, all the methods return the same values as build_machine (because the build machine is the host machine)

Note that while cross-compiling, it simply returns the values defined in the cross-info file.

Inherited methods

build_machine.cpu()

Returns a more specific CPU name, such as i686, amd64, etc.

Signature

str cpu()


build_machine.cpu_family()

Returns the CPU family name. This table contains all known CPU families. These are guaranteed to continue working.

Signature

str cpu_family()


build_machine.endian()

returns 'big' on big-endian systems and 'little' on little-endian systems.

Signature

str endian()


build_machine.system()

Returns the operating system name. This table Lists all of the currently known Operating System names, these are guaranteed to continue working.

Signature

str system()


The results of the search are