1 |
williamc |
1.1.2.1 |
<! Style Sheet Header>
|
2 |
|
|
<html>
|
3 |
|
|
<head>
|
4 |
|
|
<title>build.html</title>
|
5 |
|
|
<body bgcolor=beige>
|
6 |
|
|
<! End Style Sheet Header -----------Insert Text Here --------------------->
|
7 |
|
|
<center>
|
8 |
|
|
<h1>Advanced Use of the scram build command</h1>
|
9 |
|
|
<font color=red>S</font>oftware <font color=red>C</font>onfiguration,
|
10 |
|
|
<font color=red>R</font>elease <font color=red>A</font>nd
|
11 |
|
|
<font color=red>M</font>anagement
|
12 |
|
|
</center>
|
13 |
|
|
<hr>
|
14 |
|
|
<h2>Default Behaviour</h2>
|
15 |
|
|
The default build is performed by issuing the starightforward command :
|
16 |
|
|
<p>
|
17 |
|
|
<b>scram build</b>
|
18 |
|
|
<p>
|
19 |
|
|
The exact default behaviour of the build command is determined by your location
|
20 |
|
|
in the source code and the build instructions corresponding to that location
|
21 |
|
|
as defined by the project.
|
22 |
|
|
This might be, for example, to create a library from all the local
|
23 |
|
|
.cc files, or build a debug binary object.
|
24 |
|
|
<p>
|
25 |
|
|
<h2>Extended Behaviour</h2>
|
26 |
|
|
The project may also provide additional build options which can be activated
|
27 |
|
|
through the command : <p>
|
28 |
|
|
<b>scram build <em>option</em></b>
|
29 |
|
|
<p>
|
30 |
|
|
The Options are again very dependent on where you are in the src code structure
|
31 |
|
|
and what the project configuration has made available. Below is a table of
|
32 |
|
|
the targets you might expect for a given function.
|
33 |
|
|
<p>
|
34 |
|
|
<table border=1>
|
35 |
|
|
<tr>
|
36 |
|
|
<th>Functional Class</th><th>Target Description</th></tr>
|
37 |
|
|
<tr>
|
38 |
|
|
<td>library</td>
|
39 |
|
|
<td><table border=1><tr><th>Name</th><th>Description</th></tr>
|
40 |
|
|
<tr>
|
41 |
|
|
<td><em>libraryname</em>.a </td><td>An optimised archive libary</td></tr>
|
42 |
|
|
<tr><td><em>libraryname</em>_d.a </td><td>A debug archive libary</td></tr>
|
43 |
|
|
<tr><td><em>libraryname</em>.so </td><td>A shared object (extension is machine dependent)</td></tr>
|
44 |
|
|
<tr><td><em>libraryname</em>_d.so </td>
|
45 |
|
|
<td>A debug shared object (extension is machine dependent)</td></tr>
|
46 |
|
|
<tr><td><em>libraryname</em>_Insure.a </td><td>Instrumented Insure archive libary</td></tr>
|
47 |
|
|
<tr><td><em>libraryname</em>_Insure.so </td><td>Instrumented Insure
|
48 |
|
|
shared object</td></tr>
|
49 |
|
|
<tr><td>archive</td><td>Optimised Archive Library</td></tr>
|
50 |
|
|
<tr><td>archive_debug</td><td>Debug Archive Library</td></tr>
|
51 |
|
|
<tr><td>archive_Insure</td><td>Insure Library</td></tr>
|
52 |
|
|
<tr><td>shared</td><td>Shared Object</td></tr>
|
53 |
|
|
<tr><td>shared_debug</td><td>Debug Shared Object</td></tr>
|
54 |
|
|
<tr><td>shared_Insure</td><td>Insure Shared Object</td></tr>
|
55 |
|
|
</table>
|
56 |
|
|
</td></tr>
|
57 |
|
|
<tr><td>executables</td>
|
58 |
|
|
<td><table border=1 width=100%><tr><th>Name</th><th>Description</th></tr>
|
59 |
|
|
<tr><td>bin</td><td>An executable</td></tr>
|
60 |
|
|
<tr><td>bin_debug</td><td>A debug executable</td></tr>
|
61 |
|
|
<tr><td>bin_insure</td><td>An Insure instrumented executable</td></tr>
|
62 |
williamc |
1.1.2.2 |
<tr><td>bin_debug_local</td><td>A debug executable where debug libraries
|
63 |
|
|
will only be taken from the local area, ignoring any debug libs
|
64 |
|
|
in the central release area.</td></tr>
|
65 |
williamc |
1.1.2.1 |
</table>
|
66 |
|
|
</td></tr>
|
67 |
|
|
</table>
|
68 |
|
|
|
69 |
|
|
<! Style Sheet Footer ---------------Do not change anything after this line-->
|
70 |
|
|
<hr>
|
71 |
|
|
<table border=1 width=100%>
|
72 |
|
|
<td align=left>
|
73 |
|
|
<a href=mailto:Christopher.Williams@cern.ch
|
74 |
|
|
>Chris Williams</a>
|
75 |
|
|
</td>
|
76 |
|
|
<td align=center>
|
77 |
williamc |
1.1.2.3 |
Last Updated Wed Oct 13 14:54:39 1999
|
78 |
williamc |
1.1.2.1 |
</td>
|
79 |
|
|
<td align=right><a href=/cgi-cmc/pagestat>Show Stats</a>
|
80 |
|
|
</td>
|
81 |
|
|
</table>
|
82 |
|
|
</body> </html>
|
83 |
|
|
<! End Style Sheet Footer>
|