Annotation of wikisrc/ports/hpcmips/compat-pmax.mdwn, revision 1.2

1.2     ! ryoon       1: [[!meta title="NetBSD/hpcmips Binary Compatibility"]]
1.1       mspo        2: 
1.2     ! ryoon       3: [[!toc startlevel=1 levels=2]]
1.1       mspo        4: 
                      5: * * * * *
                      6: 
1.2     ! ryoon       7: ## About this page
1.1       mspo        8: 
                      9: This page contains information about NetBSD/hpcmips binary
                     10: compatibility. At the package level, NetBSD/pmax, NetBSD/hpcmips,
                     11: NetBSD/cobalt, NetBSD/playstation2, and NetBSD/arc are all compatible.
                     12: NetBSD/hpcmips userland binaries are compiled with "-mhard-float" flag.
                     13: 
                     14: * * * * *
                     15: 
1.2     ! ryoon      16: # Compatibility with other NetBSD ports
1.1       mspo       17: 
1.2     ! ryoon      18: ## NetBSD/cobalt binary compatibility
1.1       mspo       19: 
1.2     ! ryoon      20: [[NetBSD/cobalt|cobalt]] is almost compatible with arc and pmax and
1.1       mspo       21: hpcmips and playstation2.
                     22: 
1.2     ! ryoon      23: ## NetBSD/playstation2 binary compatibility
1.1       mspo       24: 
1.2     ! ryoon      25: [[NetBSD/playstation2|playstation2]] is almost compatible with arc
1.1       mspo       26: and pmax and hpcmips.
                     27: 
1.2     ! ryoon      28: ## NetBSD/arc binary compatibility
1.1       mspo       29: 
1.2     ! ryoon      30: [[NetBSD/arc|arc]] is almost compatible with pmax and hpcmips; the
1.1       mspo       31: only exception is disklabel (MAXPARTITIONS==16). NetBSD/hpcmips's
                     32: disklabel command is also incompatible with pmax, because it handles
                     33: fdisk (MBR) partition table.
                     34: 
1.2     ! ryoon      35: ## NetBSD/pmax binary compatibility
1.1       mspo       36: 
1.2     ! ryoon      37: [[NetBSD/pmax|pmax]] userland binaries and packages are also little
1.1       mspo       38: endian, but use hardware floating point (which can be emulated) and
                     39: incompatible function call rules (which prevents pmax and hpcmips
                     40: binaries from using the same shared libraries).
                     41: 
                     42: Hardfloat 'mipsel' userland:
                     43: :   Allows sharing of userland and packages with NetBSD/pmax. This saves
                     44:     maintenance and distribution space, but at the cost of slower
                     45:     floating point performance.
                     46: 
                     47: Softfloat 'mipselsf' userland and packages:
                     48: :   This gives the best performance, but cannot run dynamic NetBSD/pmax
                     49:     binaries.
                     50: 
                     51: Softfloat 'mipselsf' userland, extra 'mipsel' libraries:
                     52: :   Two copies of each shared library are produced, one softfloat, one
                     53:     hardfloat, and ld.so modified to use correct type. This would allow
                     54:     both types of binaries to run, but would be a maintenance nightmare.
                     55: 
                     56: * * * * *
                     57: 
1.2     ! ryoon      58: # Compatibility with ULTRIX
1.1       mspo       59: 
1.2     ! ryoon      60: ## ULTRIX binary compatibility
1.1       mspo       61: 
                     62: NetBSD/hpcmips can exec ULTRIX static-linked binary image. To do so,
                     63: follow these steps:
                     64: 
                     65: 1.  Add kernel configuration option and reconfig your kernel.
                     66: 
1.2     ! ryoon      67: [[!template id=programlisting text="""
        !            68: options COMPAT_ULTRIX
        !            69: options EXEC_ECOFF
        !            70: """]]
        !            71: 
        !            72: 2.  Copy `/usr/share/examples/emul/ultrix/etc/svc.conf` to
        !            73:     `/etc/svc.conf` or
        !            74:     `/emul/ultrix/etc/svc.conf`.
1.1       mspo       75: 
1.2     ! ryoon      76: 3.  Add hostname to `/etc/hosts`.
1.1       mspo       77: 
                     78: NetBSD/hpcmips can execute ULTRIX static-linked binary, such as
                     79: [distributed.net clients](http://distributed.net/download/clients.html).
                     80: 
                     81: * * * * *
                     82: 
1.2     ! ryoon      83: # Compatibility with Linux MIPS ports
1.1       mspo       84: 
1.2     ! ryoon      85: ## Compatibility with Linux
1.1       mspo       86: 
                     87: NetBSD/hpcmips has a "COMPAT\_LINUX" kernel option, but it is not tested
                     88: at all. Any more testers and developers in this are would be welcome.
                     89: 

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb