Passing the `–symbol-report` to the Delphi compiler gives you a nice XML overview with all symbols used
Posted by jpluimers on 2019/01/31
CRConrad on Illustrations for Bowel resect… | |
Mike Verhagen on foone on Twitter: I google… | |
Attila Kovacs on [dcc32 Warning] “W1025 U… | |
Matthijs ter Woord on File, extensions and directori… | |
jpluimers on C13/C14 wiring diagram live/ne… |
Posted by jpluimers on 2019/01/31
This entry was posted on 2019/01/31 at 18:00 and is filed under Delphi, Development, Software Development. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
This site uses Akismet to reduce spam. Learn how your comment data is processed.
HeartWare said
Where does it put the XML file, and what is it called? I can’t find it (10.2.2)
HeartWare said
Okay – found them. They’re called .symbol_report and not .xml and are located in the standard output directory (where your .EXE file ends up).
Andrew Sachs said
I found mine in “Options -> Delphi Compiler -> Unit output directory”.
HeartWare said
Okay – that might be so. My .DCU and .EXE file go to the same directory, so which one it is that controls it was a 50/50 chance to get it right for me :-).
Andrew Sachs said
Wow! This is new to me. And I started with Turbo Pascal 3.01…
Are these “secret” options documented anywhere?
rvelthuis said
FWIW, an excellent way to quickly see from which units no symbols are imported at all. They might be obsolete, if they don’t have any relevent initialization or finalization sections.
rvelthuis said
Cool finding! I tried it and indeed, it seems to work.