* Digital UNIX and Alpha Linux
@ 1999-05-27 4:00 Siemel Naran
1999-05-28 4:00 ` Alex Meisel
1999-05-29 4:00 ` Christopher Browne
0 siblings, 2 replies; 12+ messages in thread
From: Siemel Naran @ 1999-05-27 4:00 UTC (permalink / raw)
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 possible.
Can someone enlighten me?
--
----------------------------------
Siemel B. Naran (sbnaran@uiuc.edu)
----------------------------------
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Digital UNIX and Alpha Linux
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 ` Digital UNIX and Alpha Linux Xiaoguang Zhang
1999-05-29 4:00 ` Christopher Browne
1 sibling, 2 replies; 12+ messages in thread
From: Alex Meisel @ 1999-05-28 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Digital UNIX and Alpha Linux - compilers as well?
1999-05-28 4:00 ` Alex Meisel
@ 1999-05-28 4:00 ` Patrik Jonsson
1999-05-28 4:00 ` Greg Lindahl
1999-05-28 4:00 ` Alex Meisel
1999-05-28 4:00 ` Digital UNIX and Alpha Linux Xiaoguang Zhang
1 sibling, 2 replies; 12+ messages in thread
From: Patrik Jonsson @ 1999-05-28 4:00 UTC (permalink / raw)
Alex Meisel wrote:
>
> 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.
So, does this work for the Digital compilers as well? The biggest
obstacle to us running linux instead of tru64 unix is the lack of (good)
compiler availability. Is it possible to run the compilers on linux? (We
have a site license for the os and the compilers, so that shouldn't be
an issue.)
Thanks for any input!
/Patrik
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Digital UNIX and Alpha Linux - compilers as well?
1999-05-28 4:00 ` Digital UNIX and Alpha Linux - compilers as well? Patrik Jonsson
@ 1999-05-28 4:00 ` Greg Lindahl
1999-05-28 4:00 ` Patrik Jonsson
1999-05-28 4:00 ` Alex Meisel
1 sibling, 1 reply; 12+ messages in thread
From: Greg Lindahl @ 1999-05-28 4:00 UTC (permalink / raw)
Patrik Jonsson <patrik@ucolick.org> writes:
> So, does this work for the Digital compilers as well? The biggest
> obstacle to us running linux instead of tru64 unix is the lack of (good)
> compiler availability. Is it possible to run the compilers on linux? (We
> have a site license for the os and the compilers, so that shouldn't be
> an issue.)
>
No one has a site license for the OS.
Compaq is coming out with Linux-native versions of the compilers this
summer, hopefully to be a product near the end of the year.
-- g
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Digital UNIX and Alpha Linux - compilers as well?
1999-05-28 4:00 ` Greg Lindahl
@ 1999-05-28 4:00 ` Patrik Jonsson
1999-05-30 4:00 ` Greg Lindahl
0 siblings, 1 reply; 12+ messages in thread
From: Patrik Jonsson @ 1999-05-28 4:00 UTC (permalink / raw)
Greg Lindahl wrote:
> Patrik Jonsson <patrik@ucolick.org> writes:
>
> > So, does this work for the Digital compilers as well? The biggest
> > obstacle to us running linux instead of tru64 unix is the lack of (good)
> > compiler availability. Is it possible to run the compilers on linux? (We
> > have a site license for the os and the compilers, so that shouldn't be
> > an issue.)
> >
>
> No one has a site license for the OS.
Really? That's what the computer guys said, because we did not need to count
the cost of an OS into our machine. (which of course disfavors linux...) You
mean such a thing is not available? Better check this out...
/Patrik
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: Digital UNIX and Alpha Linux - compilers as well?
1999-05-28 4:00 ` Patrik Jonsson
@ 1999-05-30 4:00 ` Greg Lindahl
0 siblings, 0 replies; 12+ messages in thread
From: Greg Lindahl @ 1999-05-30 4:00 UTC (permalink / raw)
Patrik Jonsson <patrik@ucolick.org> writes:
> > No one has a site license for the OS.
>
> Really? That's what the computer guys said, because we did not need to count
> the cost of an OS into our machine. (which of course disfavors linux...) You
> mean such a thing is not available? Better check this out...
I'm sure. You usually buy the OS license along with the hardware. UVa
has the same site license that most US universities have.
-- g
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Digital UNIX and Alpha Linux - compilers as well?
1999-05-28 4:00 ` Digital UNIX and Alpha Linux - compilers as well? Patrik Jonsson
1999-05-28 4:00 ` Greg Lindahl
@ 1999-05-28 4:00 ` Alex Meisel
1 sibling, 0 replies; 12+ messages in thread
From: Alex Meisel @ 1999-05-28 4:00 UTC (permalink / raw)
Patrik Jonsson wrote:
> So, does this work for the Digital compilers as well? The biggest
> obstacle to us running linux instead of tru64 unix is the lack of (good)
> compiler availability. Is it possible to run the compilers on linux? (We
> have a site license for the os and the compilers, so that shouldn't be
> an issue.)
Why not ... I can't test it, because I've got not the compiler ....
Soooo long!
Alex
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Digital UNIX and Alpha Linux
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 ` Xiaoguang Zhang
1999-05-28 4:00 ` Siemel Naran
1 sibling, 1 reply; 12+ messages in thread
From: Xiaoguang Zhang @ 1999-05-28 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Digital UNIX and Alpha Linux
1999-05-28 4:00 ` Digital UNIX and Alpha Linux Xiaoguang Zhang
@ 1999-05-28 4:00 ` Siemel Naran
1999-05-29 4:00 ` David Kastrup
0 siblings, 1 reply; 12+ messages in thread
From: Siemel Naran @ 1999-05-28 4:00 UTC (permalink / raw)
On 28 May 1999 15:55:54 GMT, Xiaoguang Zhang <xgz@gmsds.ms.ornl.gov> wrote:
>Alternative, you can link using -non_shared option which will produced
>a statically linked executable and should run fine on Linux.
In principle, shouldn't this work for compiling Intel Linux binaries
on Intel Windows? Or Alpha Linux binaries on Alpha Windows?
--
----------------------------------
Siemel B. Naran (sbnaran@uiuc.edu)
----------------------------------
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Digital UNIX and Alpha Linux
1999-05-28 4:00 ` Siemel Naran
@ 1999-05-29 4:00 ` David Kastrup
1999-05-30 4:00 ` H.W. Stockman
0 siblings, 1 reply; 12+ messages in thread
From: David Kastrup @ 1999-05-29 4:00 UTC (permalink / raw)
sbnaran@localhost.localdomain (Siemel Naran) writes:
> On 28 May 1999 15:55:54 GMT, Xiaoguang Zhang <xgz@gmsds.ms.ornl.gov> wrote:
>
> >Alternative, you can link using -non_shared option which will produced
> >a statically linked executable and should run fine on Linux.
>
> In principle, shouldn't this work for compiling Intel Linux binaries
> on Intel Windows? Or Alpha Linux binaries on Alpha Windows?
No. It is not an accident that Alpha binaries on True/64 (or whatever
they call it currently) and Linux are so similar, but is due to a lot
of work and support of Digital in the development of Alpha Linux.
Now how much work has Microsoft invested in order to make sure Linux
and Windows binaries are compatible? I would like to say "none", but
that would be inaccurate. The fact is that Microsoft has invested a
*lot* of work to make sure that Windows is *incompatible* with
whatever other platform available.
--
David Kastrup Phone: +49-234-700-5570
Email: dak@neuroinformatik.ruhr-uni-bochum.de Fax: +49-234-709-4209
Institut f�r Neuroinformatik, Universit�tsstr. 150, 44780 Bochum, Germany
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Digital UNIX and Alpha Linux
1999-05-29 4:00 ` David Kastrup
@ 1999-05-30 4:00 ` H.W. Stockman
0 siblings, 0 replies; 12+ messages in thread
From: H.W. Stockman @ 1999-05-30 4:00 UTC (permalink / raw)
David Kastrup <dak@mailhost.neuroinformatik.ruhr-uni-bochum.de> wrote in
message news:m290a8w558.fsf@mailhost.neuroinformatik.ruhr-uni-bochum.de...
> sbnaran@localhost.localdomain (Siemel Naran) writes:
> Now how much work has Microsoft invested in order to make sure Linux
> and Windows binaries are compatible? I would like to say "none", but
> that would be inaccurate. The fact is that Microsoft has invested a
> *lot* of work to make sure that Windows is *incompatible* with
> whatever other platform available.
This comment strikes me as a little off-base. The object file formats
of DOS/Windows were formulated a long time ago; Windows 3.1 was
out when Linux was a gleam in Torvald's eye. As wonderful as Linux
may be, it did come along a little late in the game for precedence in file
formats.
While Alpha Unix and Alpha Linus at least have X-Windows and
reasonably similar library structures to ease interoperability, the DLL
structure of Windows is just too different from Unix to allow easy
translation.
Of what consequence is object file incompatibility for Windows? MS products
may deserve your
contempt, but they can read an enormous number of file formats and effect
good translations. MS placed RTF translation and PostScript translation
into
Word long ago. Now third part utilities allow parsing of EPS into
Windows WMF. There are good public domain versions of LaTeX and
GhostScript for Windows.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Digital UNIX and Alpha Linux
1999-05-27 4:00 Digital UNIX and Alpha Linux Siemel Naran
1999-05-28 4:00 ` Alex Meisel
@ 1999-05-29 4:00 ` Christopher Browne
1 sibling, 0 replies; 12+ messages in thread
From: Christopher Browne @ 1999-05-29 4:00 UTC (permalink / raw)
On 27 May 1999 22:48:28 GMT, Siemel Naran
<sbnaran@bardeen.ceg.uiuc.edu> 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 possible.
>
>Can someone enlighten me?
Not everything runs successfully, and your concern about DU-specific
libs points at the primary reason.
Barring that issue, DU binaries *can* run on Linux/Alpha...
--
How do I type "for i in *.dvi do xdvi $i done" in a GUI?
(Discussion in comp.os.linux.misc on the intuitiveness of interfaces.)
cbbrowne@ntlug.org- <http://www.hex.net/~cbbrowne/alpha.html>
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~1999-05-30 4:00 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` Greg Lindahl
1999-05-28 4:00 ` Patrik Jonsson
1999-05-30 4:00 ` Greg Lindahl
1999-05-28 4:00 ` Alex Meisel
1999-05-28 4:00 ` Digital UNIX and Alpha Linux Xiaoguang Zhang
1999-05-28 4:00 ` Siemel Naran
1999-05-29 4:00 ` David Kastrup
1999-05-30 4:00 ` H.W. Stockman
1999-05-29 4:00 ` Christopher Browne
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox