From: xgz@gmsds.ms.ornl.gov (Xiaoguang Zhang)
Subject: Re: Digital UNIX and Alpha Linux
Date: 1999/05/28 [thread overview]
Message-ID: <7imeaa$mja$1@sws1.ctd.ornl.gov> (raw)
In-Reply-To: 374E4DDB.73E8ECF6@systor.com
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
next prev parent reply other threads:[~1999-05-28 4:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-05-27 4:00 Digital UNIX and Alpha Linux Siemel Naran
1999-05-28 4:00 ` Alex Meisel
1999-05-28 4:00 ` Digital UNIX and Alpha Linux - compilers as well? Patrik Jonsson
1999-05-28 4:00 ` Alex Meisel
1999-05-28 4:00 ` Greg Lindahl
1999-05-28 4:00 ` Patrik Jonsson
1999-05-30 4:00 ` Greg Lindahl
1999-05-28 4:00 ` Xiaoguang Zhang [this message]
1999-05-28 4:00 ` Digital UNIX and Alpha Linux Siemel Naran
1999-05-29 4:00 ` David Kastrup
1999-05-30 4:00 ` H.W. Stockman
1999-05-29 4:00 ` Christopher Browne
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox