From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,d3fda75367a6d54 X-Google-Attributes: gid111c93,public From: xgz@gmsds.ms.ornl.gov (Xiaoguang Zhang) Subject: Re: Digital UNIX and Alpha Linux Date: 1999/05/28 Message-ID: <7imeaa$mja$1@sws1.ctd.ornl.gov>#1/1 X-Deja-AN: 483153388 References: <374E4DDB.73E8ECF6@systor.com> Organization: Oak Ridge National Laboratory Newsgroups: comp.os.linux.alpha Alternative, you can link using -non_shared option which will produced a statically linked executable and should run fine on Linux. Xiaoguang Zhang Alex Meisel (Alexander.Meisel@systor.com) wrote: : Siemel Naran wrote: : > Suppose I compile a program on Alpha Digital UNIX. So I have a : > Alpha Digital UNIX executable. : > : > Can I run this on a Alpha Linux? As it's the same chip, I feel : > that I should be able to do this, provided that I don't use any : > Digital UNIX specific dynamic libraries. But my gut feeling is : > that it's not possosible. : Hi Siemel! : You can execute Alpha Digital UNIX binaries. : The problem is that the binaries do calls to the digital libs. : These call a not the same as in the glibc on linuxbased systems. : All you have to do, is to copy the original digital libs and the : libloader in your linuxsystem. : I have, for e.g., the netscape communicator 4.6 for osf4 running : on my box. All I had to do is to copy these files: : /etc/svc.conf : /sbin/loader : /shlib/libICE.so : /shlib/libSM.so : /shlib/libX11.so : /shlib/libXext.so : /shlib/libXm.so : /shlib/libXmu.so : /shlib/libXt.so : /shlib/libc.so : /shlib/libc_r.so : /shlib/libcxx.so : /shlib/libdnet_stub.so : /shlib/libexc.so : /shlib/libm.so : /shlib/libots.so : So you have to find out what libs your program need and to : copy them (strace is your friend ;). : The 2nd solution can be to link your binary staticly on DigitalUnix. : Regards, : AleX