I wish to know is there a compiler directive which I can use in my code (not from the UI) to set that the compiler/linker should generate a detailed map file.
Is there something like:
{$MAPFILE DETAILED}?
I am using Delphi 2009.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There are 2 ways to generate a detailed .map file.
1) you must ensure the {D+} compiler directive is set, and the “Detailed Map File” option selected in the Project >Options>Linker page of the IDE.
2) Another option is using -GD From Delphi command-line compiler
Delphi Compiler Directives (Embarcadero List)
Delphi Compiler Directives
Bye.