Installing software lecture in color

Software installation

ASCII and binary

Understanding the difference between ASCII and binary:

Now let's understand binary:

Investigating kinds of files

Very important: binary files are not portable

Typical war story

Software basics

The short story

At the risk of trademark infringement

Obtaining software from the Internet

Unpacking software

Installing binaries for dummies.

Software compiling for dummies

Modifying users' paths for dummies:

An installation example: hello.c

But:

First steps into a larger world:

Grabbing files

Compression

Extension conventions:

Must bootstrap this process!

Packages

Kinds of packages:

Compiling software:

Kinds of executable images:

Inside a.out:

Making an a.out: gcc (solaris)

From source to executing image

Why so much trouble?

The players:

A really simple example

Taking things apart

ar: taking apart .a's

nm: taking apart .o's

Header files.

Understanding header files.

Preprocessing, compiling, linking

Recall: Process execution environment:

Static linking: (ld)

Very important notes on linking:

Result of static linking:

Execution model:

Files differ in what kind of pages they're loaded into

Dynamic linking process:

This is relatively easy to break:

Compiler defaults:

Compiler options:

Static and dynamic directory binding:

Compiler caveat:

Epilogue: what's the difference between gcc and g++


lecture in color

/comp/150NET/notes/install.php
downloaded on Nov-23-2009 02:57:47 PM,
was last modified on Feb-17-2004 10:48:31 PM.

All lecture note content is copyright 2004 by
Alva L. Couch, Computer Science, Tufts University