Port-sparc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: Berkeley db 4.8 and newer, and sparc



> gcc uses __arch64__ to indicate a 64-bit binary and __sparc_v9__ to 
> indicate the v9 instruction set is in use.  With standard usage they aree 
> equivalent.  However, if you give gcc fancy flags you can generate 32-bit 
> v9 binaries.  But that's never done in practice.

i don't agree.

unlike my prior mail, i've actually checked, and we ship not only
the 32 bit V9 GENERIC_SUN4U kernel with sparc64, but the 32 bit
libraries shipped with sparc64 are also built the same way.  32 bit
binaries that demand a v9 cpu:

/var/obj/sparc64/usr/src/compat/sparc64/sparc/usr/src/lib/libc/libc.so.12.173: 
ELF 32-bit MSB shared object, SPARC32PLUS, V8+ Required, version 1 (SYSV), 
dynamically linked, for NetBSD 5.99.38, not stripped


.mrg.

p.s.: my 32 bit install ultra10 builds with "-mcpu=ultrasparc".
it's totally done in practice.


Home | Main Index | Thread Index | Old Index