The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,779 other followers

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

Cool undocumented parameter --symbol-report at the [WayBack] Hatena Diary mid 2017:

–jeroen

7 Responses to “Passing the `–symbol-report` to the Delphi compiler gives you a nice XML overview with all symbols used”

  1. 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 :-).

  2. Andrew Sachs said

    Wow! This is new to me. And I started with Turbo Pascal 3.01…
    Are these “secret” options documented anywhere?

  3. 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.

  4. rvelthuis said

    Cool finding! I tried it and indeed, it seems to work.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

 
%d bloggers like this: