* Digital UNIX Library Compatibility?
@ 1999-01-26 17:23 Bret Orsburn
1999-01-26 23:53 ` Peter Petrakis
0 siblings, 1 reply; 9+ messages in thread
From: Bret Orsburn @ 1999-01-26 17:23 UTC (permalink / raw)
To: axp-list
What are the prospects for making a library compiled for Digital UNIX work under
Alpha Linux?
We have a vendor-supplied library (no source) we currently use on a Sparc-based
product. We would like to move our application to Alpha Linux. Our vendor does
not support Alpha Linux, but does support Digital UNIX for Alpha.
Thanks for any help or pointers you can provide.
(I've searched back postings and found info tangential to this question, but
nothing exactly on point.)
For what it's worth: an nm -u on the library in question indicates that it
expects to find a variety of system calls and standard library functions.
----
Bret Orsburn
borsburn@codonics.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Digital UNIX Library Compatibility?
1999-01-26 17:23 Digital UNIX Library Compatibility? Bret Orsburn
@ 1999-01-26 23:53 ` Peter Petrakis
1999-01-28 0:43 ` Bret Orsburn
0 siblings, 1 reply; 9+ messages in thread
From: Peter Petrakis @ 1999-01-26 23:53 UTC (permalink / raw)
To: axp-list
To sum it up you can run anything that can be run on DU on AlphaLinux
providing you have the libraries and a few other files from a DU box. If
that library is using DECTHREADS at all it'll fail miserably since that
is an attribute of DU's kernel and there are no provisions for it in the
Linux kernel right now. Could you post the output of the nm -u?
Peter Petrakis
Bret Orsburn wrote:
>
> What are the prospects for making a library compiled for Digital UNIX work under
> Alpha Linux?
>
> We have a vendor-supplied library (no source) we currently use on a Sparc-based
> product. We would like to move our application to Alpha Linux. Our vendor does
> not support Alpha Linux, but does support Digital UNIX for Alpha.
>
> Thanks for any help or pointers you can provide.
>
> (I've searched back postings and found info tangential to this question, but
> nothing exactly on point.)
>
> For what it's worth: an nm -u on the library in question indicates that it
> expects to find a variety of system calls and standard library functions.
>
> ----
>
> Bret Orsburn
> borsburn@codonics.com
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Digital UNIX Library Compatibility?
1999-01-26 23:53 ` Peter Petrakis
@ 1999-01-28 0:43 ` Bret Orsburn
1999-01-29 6:22 ` Richard Henderson
0 siblings, 1 reply; 9+ messages in thread
From: Bret Orsburn @ 1999-01-28 0:43 UTC (permalink / raw)
To: axp-list
Peter Petrakis wrote:
>
> To sum it up you can run anything that can be run on DU on AlphaLinux
> providing you have the libraries and a few other files from a DU box.
I don't think using Digital UNIX code is an option. We just want to run our code
and our vendor's code under Linux. Is there no way to link a .o file compiled
for Digital UNIX with .o files compiled for Linux and the Linux standard
libraries?
I see that that would require a high degree of binary compatibility between the
systems, but I had the impression that that had been an objective of the Alpha
Linux port.
> Could you post the output of the nm -u?
That may be possible, but since it's (evil closed-source) licensed code I'd have
to run the idea past some people first. I'd like to avoid that if I can.
----
Bret Orsburn
borsburn@codonics.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Digital UNIX Library Compatibility?
[not found] <199901261839.LAA01583@ellpspace.math.ualberta.ca>
@ 1999-01-28 17:09 ` Bret Orsburn
1999-01-28 19:20 ` Wes Bauske
0 siblings, 1 reply; 9+ messages in thread
From: Bret Orsburn @ 1999-01-28 17:09 UTC (permalink / raw)
To: axp-list; +Cc: Michal Jaegermann
Michal Jaegermann wrote:
>
> Bret Orsburn wrote:
> >
> > What are the prospects for making a library compiled for Digital
> > UNIX work under Alpha Linux?
>
> Define "work". With what and in what circumstances. Post answers
> on axp-list.
I'd like to link a .o file from our vendor (compiled for Digital UNIX) with some
.o files of our own (compiled for Alpha Linux) and the Alpha Linux standard
libraries and run the resulting program under Alpha Linux.
I don't want to use any of Digital's code.
----
Bret Orsburn
borsburn@codonics.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Digital UNIX Library Compatibility?
1999-01-28 17:09 ` Bret Orsburn
@ 1999-01-28 19:20 ` Wes Bauske
1999-01-28 20:11 ` Bret Orsburn
0 siblings, 1 reply; 9+ messages in thread
From: Wes Bauske @ 1999-01-28 19:20 UTC (permalink / raw)
To: axp-list
Bret Orsburn wrote:
>
> Michal Jaegermann wrote:
> >
> > Bret Orsburn wrote:
> > >
> > > What are the prospects for making a library compiled for Digital
> > > UNIX work under Alpha Linux?
> >
> > Define "work". With what and in what circumstances. Post answers
> > on axp-list.
>
> I'd like to link a .o file from our vendor (compiled for Digital UNIX) with some
> .o files of our own (compiled for Alpha Linux) and the Alpha Linux standard
> libraries and run the resulting program under Alpha Linux.
>
> I don't want to use any of Digital's code.
>
But, because they were compiled on a DEC Unix box, the
compiler may force you to use DEC libraries. For example
if you used DEC FORTRAN, you probably have to link with DEC
FORTRAN RTL. It gets complicated real quick.
Anyone know if the *.o files used to link an a.out format
binary are different from the *.o to link an ELF binary?
If they are the same, you at least have a shot if your
library does not use any DEC RTL's. That's not very likely
though.
Wes
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Digital UNIX Library Compatibility?
1999-01-28 19:20 ` Wes Bauske
@ 1999-01-28 20:11 ` Bret Orsburn
1999-01-28 22:28 ` Jonathan L Dubois
0 siblings, 1 reply; 9+ messages in thread
From: Bret Orsburn @ 1999-01-28 20:11 UTC (permalink / raw)
To: axp-list; +Cc: Wes Bauske
Wes Bauske wrote:
>
> Bret Orsburn wrote:
> >
> > Michal Jaegermann wrote:
> > >
> > > Bret Orsburn wrote:
> > > >
> > > > What are the prospects for making a library compiled for Digital
> > > > UNIX work under Alpha Linux?
> > >
> > > Define "work". With what and in what circumstances. Post answers
> > > on axp-list.
> >
> > I'd like to link a .o file from our vendor (compiled for Digital UNIX) with some
> > .o files of our own (compiled for Alpha Linux) and the Alpha Linux standard
> > libraries and run the resulting program under Alpha Linux.
> >
> > I don't want to use any of Digital's code.
>
> But, because they were compiled on a DEC Unix box, the
> compiler may force you to use DEC libraries. For example
> if you used DEC FORTRAN, you probably have to link with DEC
> FORTRAN RTL. It gets complicated real quick.
FWIW: The .o files are generated from C source.
> Anyone know if the *.o files used to link an a.out format
> binary are different from the *.o to link an ELF binary?
> If they are the same, you at least have a shot if your
> library does not use any DEC RTL's. That's not very likely
> though.
I guess runtime support libraries are more "primitive" (intrinsically
implementation-dependent) than standard libraries. I guess even standard
libraries could have implementation-dependent details like, what: Bit field
assignments in parameters? Segment naming conventions? Parameter passing or
stack conventions? How much of that sort of stuff is standardized in the Alpha
universe?
Hmm...I don't like the way this is going :-{
Anybody out there got an answer I'm going to like better? :-)/2
----
Bret Orsburn Need another reason to
eschew
borsburn@codonics.com closed-source code?
[Gesundheit!]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Digital UNIX Library Compatibility?
1999-01-28 20:11 ` Bret Orsburn
@ 1999-01-28 22:28 ` Jonathan L Dubois
1999-01-29 0:35 ` Bret Orsburn
0 siblings, 1 reply; 9+ messages in thread
From: Jonathan L Dubois @ 1999-01-28 22:28 UTC (permalink / raw)
To: axp-list
> Hmm...I don't like the way this is going :-{
> Anybody out there got an answer I'm going to like better? :-)/2
would it be possible to generate assembly with the DU compiler then do
whatever conversion is necesarry so gas can make the object file under
linux?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Digital UNIX Library Compatibility?
1999-01-28 22:28 ` Jonathan L Dubois
@ 1999-01-29 0:35 ` Bret Orsburn
0 siblings, 0 replies; 9+ messages in thread
From: Bret Orsburn @ 1999-01-29 0:35 UTC (permalink / raw)
To: axp-list; +Cc: dubois
Jonathan L Dubois wrote:
>
> > Hmm...I don't like the way this is going :-{
> > Anybody out there got an answer I'm going to like better? :-)/2
>
> would it be possible to generate assembly with the DU compiler then do
> whatever conversion is necesarry so gas can make the object file under
> linux?
Ooh. Yuck.
I hope it doesn't come to that.
Thanks for the suggestion, though.
----
Bret Orsburn
borsburn@codonics.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Digital UNIX Library Compatibility?
1999-01-28 0:43 ` Bret Orsburn
@ 1999-01-29 6:22 ` Richard Henderson
0 siblings, 0 replies; 9+ messages in thread
From: Richard Henderson @ 1999-01-29 6:22 UTC (permalink / raw)
To: axp-list
On Wed, Jan 27, 1999 at 07:43:39PM -0500, Bret Orsburn wrote:
> Is there no way to link a .o file compiled
> for Digital UNIX with .o files compiled for Linux and the Linux standard
> libraries?
No.
> I see that that would require a high degree of binary compatibility between
> the systems, but I had the impression that that had been an objective of the
> Alpha Linux port.
No. The objective was binary compatibility at the kernel interface.
That is something that is useful in trying to bootstrap a system,
and is handy now and then for running Netscape and the like.
Compatibility at the libc level is much harder, as the API that must
be replicated is much more expansive.
r~
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~1999-01-29 6:18 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-26 17:23 Digital UNIX Library Compatibility? Bret Orsburn
1999-01-26 23:53 ` Peter Petrakis
1999-01-28 0:43 ` Bret Orsburn
1999-01-29 6:22 ` Richard Henderson
[not found] <199901261839.LAA01583@ellpspace.math.ualberta.ca>
1999-01-28 17:09 ` Bret Orsburn
1999-01-28 19:20 ` Wes Bauske
1999-01-28 20:11 ` Bret Orsburn
1999-01-28 22:28 ` Jonathan L Dubois
1999-01-29 0:35 ` Bret Orsburn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox