BeOS: Porting UNIX Applications

Pirmais vāks
Morgan Kaufmann, 1998. gada 24. aug. - 496 lappuses

The BeOS is the exciting new operating system designed natively for the Internet and digital media. Programmers are drawn to the BeOS by its many state-of-the-art features, including pervasive multithreading, a symmetric multiprocessing architecture, and an integrated multithreaded graphics system. The Be engineering team also built in many UNIX-like capabilities as part of a POSIX toolkit. Best of all, the BeOS runs on a variety of Intel architectures and PowerPC platforms and uses off-the-shelf hardware.

This book explores the BeOS from a POSIX programmer's point of view, providing a comprehensive and practical guide to porting UNIX and other POSIX-based software to the BeOS. BeOS: Porting UNIX Applications will help you move your favorite UNIX software to an environment designed from the ground up for high-performance applications.


    Features:
  • Supports BeOS Release 3

  • Provides a step-by-step guide to the porting process from downloading the source code to installing the application

  • Explains how to port off-the-shelf utilities like Emacs and Perl as well as your own programs and tools to the BeOS

  • Offers a comprehensive POSIX reference for anyone who is porting or writing software for the BeOS

  • Furnishes a simple catalog of tools and features available on the BeOS

No grāmatas satura

Lietotāju komentāri - Rakstīt atsauksmi

Ierastajās vietās neesam atraduši nevienu atsauksmi.

Atlasītās lappuses

Saturs

11 Life Cycle of a Port
4
12 Choosing an Application to Port
5
13 Difficulties with the BeOS
9
BeOS Structure
13
21 Basic Structure
15
22 Applying UNIX Structure to the BeOS
19
23 Missing Links and Other Goodies
20
Were Not in UNIX Anymore
23
Building the Package
239
151 Keeping a Log
240
152 Storing Output
241
154 Compilation Warnings
248
155 Linking Errors
249
156 Installation
252
157 Preparing to Test the Build
259
158 Checking the Created Files
260

31 The BeOSs Concept of Users
24
32 The BeOSs Concept of Groups
28
33 Effects on Porting
29
34 Processes
30
Useful Tools
35
42 grep
55
43 sed
65
44 less
76
45 touch
78
46 tr
79
47 uniq and sort
80
48 Editors
81
Sources
83
52 Working with Archives
85
53 Archive Contents
95
Revisions and Backups
103
62 Concurrent Version System CVS
110
63 Using diff for Revisions
112
64 patch
116
65 Backups
119
Getting Started
125
72 Identifying the Build Type
129
73 Identifying the Build Process
132
Configuring the Package
133
82 Expect to Change
135
83 Using include in the Configuration Process
139
84 Using the ifdef Macro
143
Makefiles
151
92 Anatomy of a Makefile
152
93 Execution Sequence
161
94 Coping with Errors
165
Configuration Scripts
171
102 Faking Options
176
103 Manual Adjustments
178
104 Testing the Configuration
179
105 Cheating
181
Smart Compilers
183
111 Following the Script
184
112 Faking Options
191
113 Hand Compilation
192
114 Generating a Makefile
194
bison and flex
195
122 lex and flex
200
The Compiler and Linker
203
132 Preprocessing
204
133 Optimization
207
134 Debugging
210
135 Header Files
212
136 Libraries
215
137 Making Libraries
217
138 Profiling
221
The Debugger
223
141 The BeOS Debugger
224
142 The Symbolic Debugger
225
143 Manual Debugging
233
1510 Using the Supplied Harness
262
1511 Pointers to Problems
264
Overview of BeOS Programming
269
162 Be Style
270
163 UNIX Style
281
POSIX
289
172 POSIX and UNIX
291
173 The BeOS and POSIX
292
174 Effects on Porting
293
Kernel Support
295
182 Resource Limits
296
183 Memory Handling
300
184 Users and Groups
304
185 Processes
307
186 Signals
309
187 Interprocess Communication
318
188 System Calls
321
189 Regular Expressions
325
1810 Nonlocal Jumps
326
1811 Moving and Copying Memory
327
1812 String Handling
329
1813 Variable Argument Lists
338
Time Support
341
192 Time Zones
343
193 Time Calculations
344
194 Getting the Time
346
195 Setting the Time
351
196 Timers
352
197 System Information
353
Terminals and Devices
357
202 Working with Terminals
359
203 Device Drivers
380
Files and Directories
387
212 Streams
391
213 UNIX File Descriptors
400
214 Utility Functions
407
215 File Systems
418
216 select and poll
419
Networking
421
222 Utility Functions
432
223 Using select
437
224 Remote Procedure Calls RPCs
440
Summary
443
Resources
447
A2 WebSites
450
A3 Mailing Lists and Newsgroups
451
A4 CDROMs
452
A5 Compatibility and Utility Software
453
Releasing the Software
455
B2 Packaging
456
B3 Adding a License
457
B4 Distribution
466
B5 Contacting the Author
468
Index
471
Autortiesības

Citi izdevumi - Skatīt visu

Bieži izmantoti vārdi un frāzes

Par autoru (1998)

Martin C. Brown is one of the most active programmers outside of Be porting UNIX applications to the BeOS. He has worked with most varieties of UNIX, Mac, and Windows systems, doing everything from software development to system administration. When he's not on the job as an IT manager, he is enthusiastically involved in the Be development effort.

Bibliogrāfiskā informācija