answersLogoWhite

0

There are three phases between source text and an executing program:

Compilation

This consists of parsing the source (.c) file and generating code. The output is written to an object

file with the suffix .ocx. This contains the generated text and initialised data, along with relocation,

linking and optionally debugging information.

Linking

In this phase a specified list of .ocx files is linked to form a C interpreter 'binary'. This involves

resolving external function and data references. The .ocx file list can include libraries, which are

simply multiple .ocx files concatenated together.

The result of a successful link appears to the user like an executable, but in fact it uses the '#!' mechanism to run the loader binary. The file contains a list of the .ocx file pathnames, and the relocation

information needed to correctly load them as necessary.

Loading

When the user invokes a C interpreter binary the loader is invoked via the kernel '#!' mechanism.

The loader driver allocates some space for the stack, then reads the cx.out file. It then jumps to the

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What is the meaning of The linking concepts tourism?

yep


Differentiate direct linking loader and relocating loader?

Dll supports multiple procedure segment and multiple data segment.


What are Direct linking loaders?

A Direct linking loader is a general relocating loader and is the most popular loading scheme presently used. This scheme has an advantage that it allows the programmer to use multiple procedure and multiple data segments. In addition, the programme is free to reference data or instructions that are contained in other segments. The direct linking loaders provide flexible intersegment referencing and accessing ability.


Definition of direct linking loader?

A Direct linking loader is a general relocating loader and is the most popular loading scheme presently used.This scheme has an advantage that it allows the programmer to use multiple procedure and multiple data segments.In addition, the programmer is free to reference data or instructions that are contained in other segments.The direct linking loaders provide flexible intersegment refrencing and accessing ability.


What is relocating loader?

relocating loader is loader that locates the program anywhere in the memory


What were the requirements and costs of relocating to Texas?

What were the requirements (3) and cost of relocating to Texas?


What is the machine for lifting and relocating plants?

Sunday Mail-what is a Horticultural machine for lifting plants and relocating them?


What is another way of saying can connect this to?

Another way of saying "can connect this to" is "can relate this to" or "can associate this with." These phrases convey a similar meaning of linking or establishing a relationship between two ideas or concepts.


What is another name for moving?

relocating


What is difference between the absolute loader and relocating loader?

the main difrnce is that relocating loader can allow many procedure segements.the assembler assembles each procedure independently and passes to the loader(text and info)relocating and intersegement reference


What is a general loader scheme?

Loading schemes: 1.Absolute loader. 2.Relocating loader. 3.Direct linking loader. 4.Dynamic Loading. 5.Dynamic linking.(1 )Absolute loader: The task of an absolute loader is virtually trivial.The loader simply accepts machine language code and places it into main memory specified by the assembler.(2) Relocating loader: The task of relocating loader is to avoid reassembling of of all subroutines when a subroutine is changed and to perform tasks of allocation and linking for programmer.(3) Dynamic loading: In order to overlay structure to work it is necessary for the module loader to load the various procedures as they are needed.There are many binders capable of processing and allocating overlay structure.the portion of the laoder that actually intercepts calls and loads necessary procedure is called overlay supervisor of simplly flipper.this overall scheme is called dynamic loading or load on call.(4) Dynamic linking: This is mechanism by which loading and linking of external references are postponed until execution time.This was made to sort out disadvantage of previous loading schemes like subroutine is referenced and never executed


What is a sentence with the word linking?

There seems to be no evidence linking the two together.By linking the wires, we complete the circuit.