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

Re: COMPAT_SVR4 and sparc64



On Fri, 30 Aug 2002, Thorsten Glaser wrote:

> Purely out of interest, can you
>  - run sparc32 a.out code on sparc64?
>  - run sparc32 elf code on sparc64?

Not on OpenBSD.  Solaris can handle 32-bit on 64-bit for ELF.

>  - run sparc32 a.out code on sparc32 elf?
>  - run i386 a.out code on i386 elf?

Static binaries should work.  Making dynamically linked ones work would
take more effort.  You'd have to recompile either a.out or ELF to use a
ld.so from a special location.  Or add kernel code to chroot, ala
compat_linux, and keep /emul/openbsd-aout around.  NetBSD has some code
for this.

--
Mediocrity is a sin.