Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Information on Alpha Linux/DU binary compatibility?
@ 2001-01-23 16:07 RL Griswold
  2001-01-23 18:30 ` Falk Hueffner
  0 siblings, 1 reply; 7+ messages in thread
From: RL Griswold @ 2001-01-23 16:07 UTC (permalink / raw)


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).  Also, does the opposite work as well (Alpha Linux binaries on
DU)?

-- 

Richard Griswold - griswold@acm.org
#include <stddisclaimer.h>

"But I don't want to go among mad people," Alice remarked.
"Oh, you ca'n't help that," said the Cat:
  "We're all mad here. I'm mad. You're mad."
"How do you know I'm mad?" said Alice.
"You must be," said the Cat, "or you wouldn't have come here."


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Information on Alpha Linux/DU binary compatibility?
  2001-01-23 16:07 Information on Alpha Linux/DU binary compatibility? RL Griswold
@ 2001-01-23 18:30 ` Falk Hueffner
  2001-10-29 10:05   ` GAS
  0 siblings, 1 reply; 7+ messages in thread
From: Falk Hueffner @ 2001-01-23 18:30 UTC (permalink / raw)


RL Griswold <rgriswol@us.ibm.com> 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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Information on Alpha Linux/DU binary compatibility?
  2001-01-23 18:30 ` Falk Hueffner
@ 2001-10-29 10:05   ` GAS
  2001-10-29 11:24     ` Dennis Grevenstein
  2001-10-30 15:02     ` Andrew Schultz
  0 siblings, 2 replies; 7+ messages in thread
From: GAS @ 2001-10-29 10:05 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1065 bytes --]

Hello Sir,

Falk Hueffner ����� � ��������� <871ytum87w.fsf@student.uni-tuebingen.de>
...
>RL Griswold <rgriswol@us.ibm.com> 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.



Is it possible to run Compaq Fortran compiled Tru64 binaries on Linux-Alpha?
I have the Linux-version of Compac Fortran and libraries installed on my
RedHat Linux 6.2.
But the program says that it "could not map libraries" libUfor.so and
libcxml.so.

What should I do to fix it, if possible?

--
WBR,
G.A.Shamov





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Information on Alpha Linux/DU binary compatibility?
  2001-10-29 10:05   ` GAS
@ 2001-10-29 11:24     ` Dennis Grevenstein
  2001-10-30 15:02     ` Andrew Schultz
  1 sibling, 0 replies; 7+ messages in thread
From: Dennis Grevenstein @ 2001-10-29 11:24 UTC (permalink / raw)


GAS wrote:
> 
> Is it possible to run Compaq Fortran compiled Tru64 binaries on Linux-Alpha?
> I have the Linux-version of Compac Fortran and libraries installed on my
> RedHat Linux 6.2.
> But the program says that it "could not map libraries" libUfor.so and
> libcxml.so.

If you want to run Tru64 binaries under Alpha Linux, you will need
the corresponding libraries from Tru64. I guess it's a good idea
to install Netscape. It comes with the some base libs and installs
some other config files needed for emulation.
Then copy the missing libraries from a Tru64 box and run your
app.

HTH
Dennis


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Information on Alpha Linux/DU binary compatibility?
  2001-10-29 10:05   ` GAS
  2001-10-29 11:24     ` Dennis Grevenstein
@ 2001-10-30 15:02     ` Andrew Schultz
  2001-11-02  1:53       ` Harry
  1 sibling, 1 reply; 7+ messages in thread
From: Andrew Schultz @ 2001-10-30 15:02 UTC (permalink / raw)


GAS wrote:

> Is it possible to run Compaq Fortran compiled Tru64 binaries on Linux-Alpha?
> I have the Linux-version of Compac Fortran and libraries installed on my
> RedHat Linux 6.2.
> But the program says that it "could not map libraries" libUfor.so and
> libcxml.so.
> 
> What should I do to fix it, if possible?

The problem is that the Compaq Fortran shared libraries are not on your 
Linux machine.  Copying the libraries over should work, but a better 
solution would be to compile with the "-non_shared" flag.

You might also consider getting the Compaq compiler for Linux-Alpha:

http://www5.compaq.com/fortran/linux/

They'll run faster that way.  The Linux compiler is free for enthusiast 
or educational use.

-- 
------------------------------------------------------------------
  Andrew Schultz                    | The views expressed might
  ajschult@eos.ncsu.edu             | not represent those of NCSU.
  http://www4.ncsu.edu/~ajschult/   | They are however, correct.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Information on Alpha Linux/DU binary compatibility?
  2001-10-30 15:02     ` Andrew Schultz
@ 2001-11-02  1:53       ` Harry
  2001-11-02 12:17         ` Måns Rullgård
  0 siblings, 1 reply; 7+ messages in thread
From: Harry @ 2001-11-02  1:53 UTC (permalink / raw)


Andrew Schultz <ajschult@eos.ncsu.edu> wrote in message news:<3BDEC106.3070006@eos.ncsu.edu>...
> GAS wrote:
> 
> > Is it possible to run Compaq Fortran compiled Tru64 binaries on Linux-Alpha?
> > I have the Linux-version of Compac Fortran and libraries installed on my
> > RedHat Linux 6.2.
> > But the program says that it "could not map libraries" libUfor.so and
> > libcxml.so.
> > 
> > What should I do to fix it, if possible?
> 
> The problem is that the Compaq Fortran shared libraries are not on your 
> Linux machine.  Copying the libraries over should work, but a better 
> solution would be to compile with the "-non_shared" flag.
> 
> You might also consider getting the Compaq compiler for Linux-Alpha:
> 
> http://www5.compaq.com/fortran/linux/
> 
> They'll run faster that way.  The Linux compiler is free for enthusiast 
> or educational use.

Compaq did release a DU/Linux compatability CD to allow moving either
way with binaries. Here's the URL:
http://www.tru64unix.compaq.com/affinity/

Qualifier: Works only with Tru64 V5.1+


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Information on Alpha Linux/DU binary compatibility?
  2001-11-02  1:53       ` Harry
@ 2001-11-02 12:17         ` Måns Rullgård
  0 siblings, 0 replies; 7+ messages in thread
From: Måns Rullgård @ 2001-11-02 12:17 UTC (permalink / raw)


harry.heinisch@compaq.com (Harry) writes:

> Compaq did release a DU/Linux compatability CD to allow moving either
> way with binaries. Here's the URL:
> http://www.tru64unix.compaq.com/affinity/
> 
> Qualifier: Works only with Tru64 V5.1+

That will allow linux compiled programs to run under tru64. The OP
wanted the opposite, as would I.

My experience is that it works rather well, except for some quirks,
among others incompatible ioctls for some devices (network).

-- 
M�ns Rullg�rd
e99_mru@e.kth.se


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-11-02 12:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-23 16:07 Information on Alpha Linux/DU binary compatibility? RL Griswold
2001-01-23 18:30 ` Falk Hueffner
2001-10-29 10:05   ` GAS
2001-10-29 11:24     ` Dennis Grevenstein
2001-10-30 15:02     ` Andrew Schultz
2001-11-02  1:53       ` Harry
2001-11-02 12:17         ` Måns Rullgård

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox