next up previous contents index
Next: Naming conventions Up: Bundling source code, libraries Previous: Definition of a ''pack''   Contents   Index

Structure of a pack : overview

A pack is composed of the following four directories :

*
src : source codes directory
*
sys : installation directory of the precompilers
*
lib : directory of the archived object codes libraries
*
bin : directory of the executables
The directory src is composed of two or more directories :
*
local is the directory where the pack owner will copy the source code to compile
*
unsxref is a directory where the pack owner can signal that an unsatisfied symbol should be considered non-fatal at linking time
*
main is the bottom source code directory. It will exist only if the current pack is not a main pack. It contains the source code (and partly the object code) corresponding to the code release on top of which the pack is lying.
*
inter.* are stacked source code directories : inter.1, inter.2, inter.3 ...They exist only if the current pack is not a main pack and is not lying directly on top of a main pack. ''The reference'' pack corresponds to the stack directory with the highest number.
Any directory local is expected to have a directory tree mapped from the directory main. A modified source file should be copied inside the same subdirectory of the directory local as the original file is in the directory main.


next up previous contents index
Next: Naming conventions Up: Bundling source code, libraries Previous: Definition of a ''pack''   Contents   Index
EL KHATIB Ryad 2008-05-23