wpkg --os

Options Comments
--verbose Also display the machine information.

The --os command prints out the operating system this version of wpkg was compiled for. This value can also be queried in a control file or other expressions with the os() function.

Architecture: $(os())-$(processor())1

With the --verbose flag, the command also prints out the machine information which represents the processor information as defined by the operating system at runtime (which may or may not be accurate.)

See Also:

  • 1. Note that in most cases you'll want to define the architecture with the architecture() function call.