GNU/Linux |
CentOS 3.1 |
|
setarch(8) |
setarch − create an alternate environment
setarch [ −3 ] program
setarch This utility currently only affects the output of uname -m. For example, on an AMD64 system, running ’setarch i386 program’ will cause ’program’ to see i686 (or other relevant arch) instead of x86_64 as machine type. On systems where it is supported, the -3 option specifies that processes should use a maximum of 3GB of address space.
setarch ppc32 rpmbuild --target=ppc --rebuild foo.src.rpm
setarch(8) |