wpkg --architecture
Options | Comments |
---|---|
--verbose | Include the machine information when available. |
When the libdebpackages is compiled, it uses an architecture definition that depends on the system on which the library gets compiled. This architecture information can be determined using the --architecture command.
wpkg returns the architecture name by printing it in your console and returning.
Note that it is also possible to get the architecture information in a control file using the architecture() function.
IMPORTANT NOTE
The --verbose option under MS-Windows makes use of an environment variable which under MS-Windows is expected to be defined. Namely, it reads one of the PROCESSOR_ARCHITEW5332, PROCESSOR_ARCHITECTURE, or PROCESSOR_IDENTIFIER. These values can be tainted since the operating system lets you change their value. Note that the architecture() function is a compiled in value so it is not affected.
See Also: