Installation guide

7.4.2.2
Differences that Apply to the Default Mode ............ 7–25
7.4.2.3
Differences that Apply to Strict ANSI Mode ........... 7–26
7.4.3
Differences Between DIGITAL UNIX C and DEC C ...... 7–28
7.4.4
Differences Between DIGITAL UNIX C and C on VAX
Systems ............................................................ 7–29
7.4.5
Differences Between DIGITAL UNIX C and VAX C (vcc)
Software ........................................................... 7–32
7.5
Running lint to Find Other Errors ................................ 7–34
7.6
Linking Your Program ............................................... 7–35
7.6.1
Changes in Libraries ............................................ 7–36
7.6.2
ULTRIX BSD Compatibility Library ......................... 7–37
7.6.3
System V Compatibility Library .............................. 7–39
7.7
Porting Terminal-Dependent Applications ....................... 7–40
7.8
Differences in Standard Interfaces ................................ 7–41
7.9
Running Your Program .............................................. 7–45
8 Postmigration Programming Features
8.1
Using Shared Libraries .............................................. 8–1
8.1.1
Linking with Shared Libraries ................................ 8–1
8.1.2
Symbol Resolution and Shared Libraries .................... 8–2
8.1.2.1
How Libraries Are Searched .............................. 8–2
8.1.2.2
When Symbols Are Defined More than Once .......... 8–4
8.1.3
Using Your Makefile with Shared Libraries ................. 8–4
8.1.4
Creating Shared Libraries from Object Files ............... 8–5
8.1.5
Creating Shared Libraries from Archive Libraries ........ 8–5
8.1.6
Optimizing Application Startup when Using Shared
Libraries ........................................................... 8–6
8.2
Using Semaphores .................................................... 8–7
8.3
Using File Descriptors ............................................... 8–8
Part 5 Appendixes
A Differences Between DIGITAL UNIX and ULTRIX Commands
B Differences in ULTRIX and DIGITAL UNIX Header Files and
Library Routines
B.1 Changes in the acct.h File .......................................... B–1
B.2 Changes in the disktab.h File ...................................... B–1
B.3 Changes in the dli_var.h File ....................................... B–2
B.4 Changes in the errno.h File ......................................... B–2
viii Contents