It depends on how it is implemented. FatELF and OSX's equivelent put both 32bit and 64bit code in the same executable, so that one file works everywhere....