[fpc-pascal] Tracking units and include files

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Fri Sep 4 22:51:02 CEST 2009

When building a large program is it possible to get a list of what unit 
and include files are used at the various stages and to put them in an 
unambiguously-named file?

What I'd like to be able to do is to build the entire compiler suite and 
then if I needed to run anything- for example the fp IDE- under gdb 
having a complete and accurate description of what was incorporated.

Wishlist: a predefined macro describing the options with which the 
compiler was built, which an application program can display as part of 
its "about" information. Also possibly something which describes the 
options when the app was built. In particular things like optimisation 
level which can affect code generation.

Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

More information about the fpc-pascal mailing list