Chris Brannon wrote:
Here's a script to check the architecture-independence of a binary package. It only checks to see whether or not a tarball contains files that start with the ELF magic number, bytes 0x7f E L F. Maybe someone will find it useful.
-- Chris
Hello There is no attach here. [1] But only doing this check (ELF signature) is just a necessary condition but not sufficient. [2] Should also check the machine (sufficient), because there are packages for example AVR and ARM that from point of view of -any are "architecture-independence". (some "crazy" :P packages have SPARC ELFs) [3] And also (I din't see the script, so i just suppose), you also need to exactarc archives files (.a) and analize the content of each object with [1] and [2] Good Luck! -- Gerardo Exequiel Pozzi ( djgera ) http://www.djgera.com.ar KeyID: 0x1B8C330D Key fingerprint = 0CAA D5D4 CD85 4434 A219 76ED 39AB 221B 1B8C 330D