home *** CD-ROM | disk | FTP | other *** search
- Path: uni-regensburg.de!not-for-mail
- From: feyrer@rfhs1012.fh.uni-regensburg.de (Hubert Feyrer)
- Newsgroups: comp.unix.amiga
- Subject: Re: binary compatibility?
- Date: 11 Feb 1996 04:17:38 GMT
- Organization: University of Regensburg, Germany
- Message-ID: <4fjql2$srq@rrzs3.uni-regensburg.de>
- References: <4fclpr$au4@toad.stack.urc.tue.nl>
- Reply-To: hubert.feyrer@rz.uni-regensburg.de
- NNTP-Posting-Host: rfhs0003.fh.uni-regensburg.de
- X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
-
- Eka Durmin (eka@stack.urc.tue.nl) wrote:
- > I've heard that NetBSD is binary compatible with certain other OSses.
- >
- > I use FreeBSD on my university account...
- > Is it possible to make my NetBSD (NetBSD/Amiga-1.1) binary compatible with
- > FreeBSD?
-
- No, as FreeBSD runs only intel-binaries, and the Amiga has a differenct CPU.
-
- To cite from the (soon to be updated :-) NetBSD-Amiga FAQ:
-
- 8.3.16 What's all this stuff about binary emulation?
-
- Binary emulation means two things:
-
- 1. to read different executable file formats: About every second operating system
- uses a differen file format in which it saves its binaries, using different headers,
- magic cookies, hunks, whatever. The ones NetBSD supports natively is a.out, and
- through some of the above emulations, ELF's supported, too.
-
- 2. (the more important thing!) Almost every operating system offers also a different
- range of services to the system programmer, with different ways to access them.
- This is called the system-call-interface. Under AmigaOS, this is done with an index
- into a table containing pointers to functions pointed to by some address register and
- the data in some data register, NetBSD uses some trap-command, I think. Other
- operating systems use other methods, traps, tables, registers, etc. and this is handled
- by the binary emulation.
-
- Of course, for a program to generate such system calls (in a controled manner :-), it
- has to be compiled for the CPU it's running on, you won't be able to execute Ultrix
- binaries on a Motorola CPU. But what you can do is use Sun3-binaries, which just
- use different ways to reach the kernel (=the operating system itself) to use its
- services.
-
- On NetBS/amiga, you can use binaries for the following architectures (as long as
- they don't access any special hardware or drivers):
-
- * NetBSD/amiga, mac68k, atari and sun3. The hp300-port uses a different
- pagesize to remain binary compatible with HP-UX, and therefore won't
- work by default.
- * Sun3, SunOS 4.x. You can run programs compiled for Suns with Motorola
- CPUs, not SPARC CPUs. So you can not just download Netscape for SunOS
- 4.1.3, as it is still compiled for the wrong CPU. Sorry.
-
-
- > I'm also looking for sites where I can get precompiled applications.
- >
- > I know one: ftp.uni-regensburg.de, but it is very slooow....
- > Are there other sites?
-
- Guess what's ftp.uni-regensburg.de:/pub/NetBSD-Amiga/MIRRORS about!
-
-
- Hubert
-
- --
- =============== Hubert Feyrer ============================================
- Weekdays: Rennerstr. 19, D-93053 Regensburg, Tel. 0941/943-2905
- Weekends: Bachstr. 40, D-84066 Mallersdorf, Tel. 08772/6084
- Internet: hubert.feyrer@rz.uni-regensburg.de == IRC: hubertf
- ==========================================================================
-