| 1 |
|
| 2 |
Description of make system used for acedb code. |
| 3 |
=============================================== |
| 4 |
|
| 5 |
Introduction |
| 6 |
------------ |
| 7 |
This file describes various aspects of the make system used for acedb. |
| 8 |
Use this file to explain things rather than cluttering up the makefiles |
| 9 |
themselves. |
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
Libraries |
| 16 |
--------- |
| 17 |
|
| 18 |
The recommended order of object files/libraries for linking is: |
| 19 |
|
| 20 |
|
| 21 |
cc -o <exename> <acedb object files> <OEM libraries> <system libraries> |
| 22 |
|
| 23 |
The variable LIBS should be used in the _DEF files to specify the OEM and system |
| 24 |
libraries. |
| 25 |
|
| 26 |
This order minimises problems with unresolved symbols but does impose the penalty |
| 27 |
that acedb files must not supply external symbols with the same name as those |
| 28 |
in the OEM and system libraries. If this happens the acedb symbol will override |
| 29 |
the library symbol to produce in the worst case subtle bugs. |
| 30 |
|
| 31 |
(Note that the aims of minimising unresolved symbol errors and minimising problems |
| 32 |
with duplicate symbols clash, they require oppposite orderings. It is up to us |
| 33 |
to make sure we don't duplicate existing library symbols and use (where possible) |
| 34 |
linker warnings to tell us about this.) |
| 35 |
|
| 36 |
|