From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5392,9869bec32f3dd8e8 X-Google-Attributes: gidf5392,public X-Google-Thread: 1164f8,9869bec32f3dd8e8 X-Google-Attributes: gid1164f8,public From: torvalds@linux.cs.Helsinki.FI (Linus Torvalds) Subject: Re: Digital UNIX binaries run under Alpha/Linux? Date: 1996/08/03 Message-ID: <4tv5tk$e0n@linux.cs.Helsinki.FI>#1/1 X-Deja-AN: 171779658 references: <4tr1l5$ess@agate.berkeley.edu> content-type: text/plain; charset=ISO-8859-1 organization: University of Helsinki mime-version: 1.0 newsgroups: comp.sys.dec,comp.os.linux.development.system In article <4tr1l5$ess@agate.berkeley.edu>, Peter Mardahl wrote: > > Do Digital UNIX binaries run under Alpha/Linux? >I vaguely remember that there was an effort to make this >possible. > > We're considering buying an Alpha, and this capability >would be very helpful to us. Generally the answer is "yes", with a few caveats: - Linux doesn't have any license manager. Programs using that will probably fail, and I don't know if anybody has enough documentation to fix things like that. - Linux doesn't support the Mach-specific system calls (negative system call numbers). I've never seen any program use them, but they might exist anyway. I suspect things like a threads package might use the Mach threads facilities.. - Linux does not come with the Digital Unix shared libraries and the loader (/sbin/loader). If you are using dynamically linked binaries (ie just about everything), you need to have a license for those and copy them over to the Linux box.. There are a few other Digital Unix specific things you need to have in your filesystem tree too (some extra symlinks and config files to make binaries that expect them happy). - some Digital Unix specific low-level binaries do not work, and you have to use the Linux versions. This is mainly stuff like "ifconfig" etc, but also the X server, for example. (X clients work fine, but the server does strange things directly on the hardware, so you have to use XFree86 instead which is probably the better server anyway). And finally: - A lot of the Digital UNIX binary compatibility has not been extensively tested. I _used_ to run a all-OSF binary setup a long time ago, so I can only say that it has worked fine for me. However, I've been using native binaries now for a long time, and I don't know how many people use Digital Unix binaries. I know somebody was running the Digital Unix version of Netscape, because no Linux/alpha native version exists yet. So even large and complex binaries DO work, but I can make no guarantees. You may end up having to fix some specific problem yourself (you'll find people more than willing to help, though: we do want to be Digital UNIX binary compatible as far as humanly possible). Hope that helped (even though the end result of the above is "try it and pray for the best" ;-), Linus