From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,1b85ab8d84e7e319 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2001-01-23 12:50:08 PST From: Falk Hueffner Newsgroups: comp.os.linux.alpha Subject: Re: Information on Alpha Linux/DU binary compatibility? Date: 23 Jan 2001 19:30:59 +0100 Organization: Zentrum fuer Datenverarbeitung Message-ID: <871ytum87w.fsf@student.uni-tuebingen.de> References: <3A6DAC50.81ABD677@us.ibm.com> NNTP-Posting-Host: p1ks069.extern.uni-tuebingen.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: newsserv.zdv.uni-tuebingen.de 980282990 9862 134.2.226.69 (23 Jan 2001 20:49:50 GMT) X-Complaints-To: usenet@newsserv.zdv.uni-tuebingen.de NNTP-Posting-Date: 23 Jan 2001 20:49:50 GMT X-Face: >Q)4Pn.JVfRz{G(G_eIkykbZGG\)2mk8:5a"{^Mk07iC#F.t2L7h|]{*cFg$GEPDdun~+UTjG(^4z<_Ksw%L-\w0xDmUR~ writes: > Where can I find information on running DU binaries on Alpha Linux? I > know it's possible, since that's how I run Netscape at home. What I > need is inforamation on how its done (intercepting syscalls, emulation, > etc). It's just intercepting syscalls and a special binary loader. Alpha Linux was designed from the start to support OSF, so it wasn't that hard. Look in linux/arch/alpha/kernel/entry.S: OSF syscalls have IDs below 300, the linux specific start above that. Some of the weirder OSF syscalls get special treatment in linux/arch/alpha/kernel/osf_sys.c. > Also, does the opposite work as well (Alpha Linux binaries on DU)? No. It might not even be possible, since some Linux syscalls like clone() might not be implementable, though that seems unlikely. Falk