From: michaels@zko.dec.com (Karen Michaels)
Subject: RFI - converting Alpha from OpenVMS to DEC Unix
Date: 1995/12/18 [thread overview]
Message-ID: <4b3ral$ro7@lead.zk3.dec.com> (raw)
>Greetings,
>
>I manage an Alpha VMS cluster which the clients want converted to DEC Unix.
>The nodes consist of one DEC 3000 model 400 (main server) and three DEC 3000
>model 300 machines. The cluster is running OpenVMS 6.1 currently and is used
>for mechanical design work using Pro-Engineer and SDRC Ideas. They want to
>continue to run these applications under DEC Unix.
>
>Does anybody have any first-hand experience converting Alpha/VMS machines over
>to DEC Unix? Does DEC Unix have anything like a VMS cluster where you have a
>common system disk, or will each node have its own system disk? I do realize
>that I'll have to obtain new versions of the applications software which run
>under DEC Unix.
>
>It's plainly obvious that I'm not very Unix-literate, but so any comments
>about methodology, tricks, bugs, workarounds, etc. are welcome.
>
>
>Jeff Dykzeul
>Hughes Aircraft Company
If you are doing a port, the Digital Porting Assistant can help you.
It is available free. It runs on Digital UNIX 3.2 and later. At the
end of this message, I have attached a white paper that describes the
product.
Karen Michaels
Project Leader Digital Porting Assistant
-----------------------------------------------------------------------------
Digital Porting Assistant
Version 1.0 of the Porting Assistant is available now at no
cost! Version 2.0 is undergoing field testing through
January, 1996.
Benefits
The Porting Assistant is a tool that helps application
developers port their code to Digital UNIX(TM) from other UNIX
and proprietary platforms. It identifies C, C++, and
Fortran code that may not compile or run properly on Digital
UNIX. The Porting Assistant reduces the time and cost of
porting an application by automating many manual tasks,
including, quick access to technical porting information.
Features
The Porting Assistant's interactive environment lets
developers locate code that may need to be changed in order
to work on Digital UNIX. The Porting Assistant also helps
developers understand why they need to make the changes and
then facilitates the changes. For example, the Porting
Assistant provides a global replace capability to replace
text across a set of files.
Developers use the Porting Assistant to run different types
of checks, which in turn produce diagnostic messages
indicating potential problems in the code to be ported.
Developers can navigate though the diagnostic messages using
an editor (vi, Emacs or a supplied Motif editor) to view
both the diagnostic and the associated source code.
The Porting Assistant also makes it easier for developers to
link their code by helping to resolve undefined symbols.
Checking code...
The Porting Assistant checks find the following potential
porting problems:
- Conditional code (#ifdef) that might also need a
Digital UNIX branch.
Some applications that developers port to Digital UNIX
may already run on multiple platforms. If this is the
case, the applications may use conditional code that
applies to one or more platforms. The Porting Assistant
can locate this conditional code, which helps the
developer decide if the code applies to Digital UNIX.
- Includes (#include) of files that don't exist; and
locations where a file exists with the same name.
Different operating systems store include files in
different directories. The Porting Assistant identifies
include files that are not found in the specified
location. If possible, it reports locations where the
file does exist. For example, the file dkio.h is located
in /usr/include/sun on SunOS systems, but it is located
in /usr/include/sys on Digital UNIX systems. The Porting
Assistant will flag references to /usr/include/sun/dkio.h
and suggest that the user include /usr/include/sys/dkio.h
instead.
- Calls to library functions that do not match Digital
UNIX definitions.
The Porting Assistant checks for functions that do not
have function definitions. This may be the case if an
application calls a system function that is available on
another platform, but does not exist on Digital UNIX.
The Porting Assistant provides mappings from many of
these functions to equivalent Digital UNIX functions.
The Porting Assistant also flags functions that have
calls that are inconsistent with their definition. This
may occur if a function has a different signature on
Digital UNIX than on another platform.
- Code with 32-bit dependencies.
The Porting Assistant locates code that assumes it is
running on a 32-bit architecture. This includes
operations such as assigning or casting pointers to
integers, assignments of longs to other types, and sign
extension problems.
- Calls to library functions with different semantics on
Digital UNIX.
The Porting Assistant provides a list of functions that
have different semantics on Digital UNIX than on other
platforms. There are different categories of functions
differences, including platform differences and 32/64 bit
differences. For each different function, the Porting
Assistant provides access to the function's man page as
well as a special man page that describes how this
function is different on Digital UNIX. The Porting
Assistant searches the developer's code to find calls to
these functions.
- Commands in the developer's makefile that may not run
correctly on Digital UNIX.
The Porting Assistant checks the actions in the
developer's makefile to ensure that all the actions exist
on the user's path. If it cannot find an action, it may
suggest locations of a program with the same name.
The Porting Assistant checks the arguments and options to
common build commands (cc, ld, ar, and rm). It tells the
developer when the Digital UNIX option is different from
its source platform and what the equivalent Digital UNIX
option is.
Linking the application...
The Porting Assistant helps resolve undefined symbols
reported by the linker. It includes a facility to look up a
function to see what library defines it. It reports the
library name and the linker options that are needed to link
the library with the application.
Accessing HyperHelp on porting...
The Porting Assistant includes online HyperHelp that
explains how to use the Porting Assistant and its checks.
The HyperHelp also includes porting tips that cover topics
such as byte ordering, data alignment, and shared libraries.
The extensive Help for the diagnostic messages is
particularly useful because it is directly linked to
specific messages with a description of the problem and
suggestions on how to fix it.
Replacing text in a set of application files...
As they port their application, developers may have to
change function names, variable names, or type names in
their source files. The Porting Assistant lets developers
change a specified string to a different string in a set of
files. The Porting Assistant performs the substitution with
or without confirmation. If the developer wants to confirm
each substitution, the Porting Assistant brings each file
into an editor, positioned on each occurrence of the
specified string. The developer can then choose to change
the current occurrence of the string.
Requirements
The Porting Assistant requires an Alpha machine with the
following configuration:
- 64 MB of memory
- Digital UNIX Operating System V3.2 or greater
- Digital UNIX Software Development Utilities V3.2 or greater
- 17 MB of disk space
How to get it
To schedule a demonstration or obtain a copy of the Digital
Porting Assistant, call or send mail to:
Eileen Horner (603) 881-0993
port-comments@zko.dec.com
(TM) UNIX is a registered trademark of the United States and
other countries licensed through X/Open Company Limited.
next reply other threads:[~1995-12-18 5:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-12-18 5:00 Karen Michaels [this message]
-- strict thread matches above, loose matches on Subject: below --
1995-12-13 5:00 RFI - converting Alpha from OpenVMS to DEC Unix Dutch Spud
1995-12-19 5:00 ` Fred Zwarts
1995-12-19 5:00 ` Rene M. Rehmann
1995-12-21 5:00 ` Fred Zwarts
1995-12-22 5:00 ` Jonathan Eunice
1995-12-23 5:00 ` John R. Frandsen
1995-12-21 5:00 ` John R. Frandsen
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