T.R | Title | User | Personal Name | Date | Lines |
---|
3839.1 | Some answers | KMOOSE::CMCCUTCHEON | Charlie McCutcheon | Wed Feb 05 1997 12:17 | 31 |
| Hi, I'll only answer a few. (I'm at home sick...)
> 3.- Does a record ADA object with representation clauses has the same
> internal representation using XADA or DEC UNIX ADA?
Yes, full representation clauses should give identical data layout
on DEC Ada platforms. Note I said full, since we don't require
every record component to be layed out in a rep clause.
> 4.- Are there utilities to convert OPEN_VMS LIB calls to its
> equivalent UNIX calls and if not what is the strategy to port a large
> OPEN VMS ADA application using many of VMS standard library calls to
> UNIX ADA?
Not that I'm aware of, not directly available from DEC Ada.
I can see if someone knows of something however.
> 6.- Are there any bindings from ADA application SW to call X, X-toolkit
> or Motif library?
Yes, X and Motif bindings are on the DEC Ada kit, for X4 motif 1.1,
and X5 Motif 1.2.
Charlie
|
3839.2 | fuller answer to #3 | FLOYD::YODER | MFY | Wed Feb 05 1997 12:44 | 8 |
| To be absolutely sure of getting identical representation, it is best to:
(1) Give a length clause specifying the length in bits. For example:
for T'Size use 10*64;
(2) Specify the exact location of every field.
(3) Insure there are no gaps, by adding dummy fields if necessary.
(These recommendations aren't specific to DEC Ada.)
|
3839.3 | Question about #5 | FLOYD::YODER | MFY | Wed Feb 05 1997 12:47 | 6 |
| 5.- Can ALPHA operate as DECNET node allowing that VAXELN node perform
a task to task comunication?
I'm not sure if I get the proper sense of this question. Tasks within the same
program cannot be put on different nodes; cross-node communication would have to
be from program to program. Does this answer the question?
|
3839.4 | Answers to #1 and #2 | FLOYD::YODER | MFY | Wed Feb 05 1997 12:58 | 24 |
| 2.- Can he call RPC (Remoute Procedure Call) from an ADA application?
Yes.
1.- Can he use UNIX socket from ADA aplication?
Yes, but see below.
For example, an Unix socket (Client or Server) written in others
Unix platforms can run on Alpha whitout any modifications?
Maybe, but more details would be needed.
In using any UNIX calls it is necessary to realize that if the UNIX call can
block the entire process (rather than just its thread), the result may not be
what you want in a tasking program. (Usually, what you prefer is that any
system call block only the task or thread which issues the call.)
I'm assuming we are talking about an Ada application. If the same-named UNIX
calls have the same functionality on the two systems, and if the interface
pragmas (presumably, interface to C) are modified to accommodate any difference
in naming conventions between the two systems, the program should work.
However, having "the same functionality" is not the same as having the same
*documented* functionality if the program depends on bugs or restrictions
present on the old system. Another possibility (but less likely) is that the
program can depend on quirks of the old Ada tasking run-time system.
|
3839.5 | Do you have some $$$$ ?? ;-) | TAEC::URSCH | | Thu Feb 06 1997 07:30 | 11 |
| Hello,
As we have ported our application from OpenVMS to Digital Unix,
we have a good number of OpenVMS system services being emulated. So
depending upon which system services are used, we may have something
for you. Send me mail if you want to pursue this direction.
There is also a company seling something called ACCERL8, I think.
I don't recall where to reach them.
Jean-Michel
|