2 |
7u83 |
1 |
<!-- Crown Copyright (c) 1998 -->
|
|
|
2 |
<HTML>
|
|
|
3 |
<HEAD>
|
|
|
4 |
<TITLE>TDF and Portability</TITLE>
|
|
|
5 |
</HEAD>
|
|
|
6 |
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000FF" VLINK="#400080" ALINK="#FF0000">
|
|
|
7 |
<H1>TDF and Portability</H1>
|
|
|
8 |
<H3>January 1998</H3>
|
|
|
9 |
<A HREF="port3.html"><IMG SRC="../images/next.gif" ALT="next section"></A>
|
|
|
10 |
<IMG SRC="../images/no_prev.gif" ALT="previous section">
|
|
|
11 |
<IMG SRC="../images/no_top.gif" ALT="current document">
|
|
|
12 |
<A HREF="../index.html"><IMG SRC="../images/home.gif" ALT="TenDRA home page">
|
|
|
13 |
</A>
|
|
|
14 |
<IMG SRC="../images/no_index.gif" ALT="document index"><P>
|
|
|
15 |
<HR>
|
|
|
16 |
<DL>
|
|
|
17 |
<DT><A HREF="#intro"><B>1</B> - Introduction</A><DD>
|
|
|
18 |
<DT><A HREF="port3.html#S2"><B>2</B> - Portability</A><DD>
|
|
|
19 |
<DT><A HREF="port4.html#S22"><B>3</B> - TDF</A><DD>
|
|
|
20 |
<DT><A HREF="port5.html#S51"><B>4</B> - Conclusions</A><DD>
|
|
|
21 |
</DL>
|
|
|
22 |
<HR>
|
|
|
23 |
|
|
|
24 |
<H1><A NAME="intro">1. Introduction</A></H1>
|
|
|
25 |
TDF is the name of the technology developed at DRA which has been
|
|
|
26 |
adopted by the Open Software Foundation (OSF), Unix System Laboratories
|
|
|
27 |
(USL), the European Community's Esprit Programme and others as their
|
|
|
28 |
Architecture Neutral Distribution Format (ANDF). To date much of the
|
|
|
29 |
discussion surrounding it has centred on the question, "How do
|
|
|
30 |
you distribute portable software?". This paper concentrates on
|
|
|
31 |
the more difficult question, "How do you write portable software
|
|
|
32 |
in the first place?" and shows how TDF can be a valuable tool
|
|
|
33 |
to aid the writing of portable software. Most of the discussion centres
|
|
|
34 |
on programs written in C and is Unix specific. This is because most
|
|
|
35 |
of the experience of TDF to date has been in connection with C in
|
|
|
36 |
a Unix environment, and not because of any inbuilt bias in TDF.<P>
|
|
|
37 |
It is assumed that the reader is familiar with the ANDF concept (although
|
|
|
38 |
not necessarily with the details of TDF), and with the problems involved
|
|
|
39 |
in writing portable C code.<P>
|
|
|
40 |
The discussion is divided into two sections. Firstly some of the problems
|
|
|
41 |
involved in writing portable programs are considered. The intention
|
|
|
42 |
is not only to catalogue what these problems are, but to introduce
|
|
|
43 |
ways of looking at them which will be important in the second section.
|
|
|
44 |
This deals with the TDF approach to portability.<P>
|
|
|
45 |
<HR>
|
|
|
46 |
<P><I>Part of the <A HREF="../index.html">TenDRA Web</A>.<BR>Crown
|
|
|
47 |
Copyright © 1998.</I></P>
|
|
|
48 |
</BODY>
|
|
|
49 |
</HTML>
|