From mboxrd@z Thu Jan 1 00:00:00 1970 From: michal at ellpspace.math.ualberta.ca (Michal Jaegermann) Date: Sun, 23 Oct 2005 11:54:58 -0600 Subject: CPU Arch Detection In-Reply-To: <435BC4B4.2030204@solvo.ru> References: <435A2642.1010501@grouse.net.au> <20051022174004.GI862@core.upi.iki.fi> <435A868D.1070506@solvo.ru> <20051022185043.GA5018@ellpspace.math.ualberta.ca> <435A9041.3080605@solvo.ru> <435BC4B4.2030204@solvo.ru> Message-ID: <20051023175458.GA16894@ellpspace.math.ualberta.ca> On Sun, Oct 23, 2005 at 09:13:24PM +0400, Sergey Tikhonov wrote: > > I still believe that "arch_compat" macro defines upward compatibility > and has meaning: alpha_compat: arch2: arch1 - that packages of arch1 > can be installed on arch2 s/alpha_compat/arch_compat/ if somebody got confused. :-) This is what you can find at http://www.rpm.org/max-rpm-snapshot/s1-rpm-multi-build-install-detection.html The names in the list are considered compatible to the name specified in the label. arch_compat: i586: i486 arch_compat: i486: i386 os_compat: Linux: AIX The arch_compat lines shown above illustrate how a family of upwardly compatible architectures may be represented. For example, if the build architecture was defined as an i586, the compatible architectures would be i486, and i386. However, if the build system was an i486, the only compatible architecture would be an i386. and the rest of a text there for more explanations. An example above seems to support Sergey's interpretation although apparently this boils down to what "the build system" really means. It seems to be the same as "build architecture". See if you can make head or tail from the rest stuff on the quoted page but whatever ultimately works... Maybe 'arch_canon' or 'buildarchtranslate' could be used as well? Michal