Jump to content
Fr0sT.Brutal

Map file = Detailed also produces DRC file

Recommended Posts

If I set Map file option to Detailed, compiler always produces .DRC file regardless of the "Output .drc" option. I'm not sure is it bug or feature? The newest version I tested with is 10.3

Share this post


Link to post

Looks like as designed:

Quote
  • Detailed: Produces a map file that includes a list of segments, the program start address, any warning or error messages produced during the link, a list of alphabetically sorted public symbols, and an additional detailed segment map. The detailed segment map includes the segment address, length in bytes, segment name, group, and module information. Also produces a resource string file.

 

  • Thanks 1

Share this post


Link to post

The help also says it is generated if either option is set (detailed map files OR .drc generation);

Package Files Created by Compiling - RAD Studio (embarcadero.com)

 

 

Quote

 

To enable the generation of this optional file, do either of the following:

  • Use the "Detailed" value for the Map file option in Project > Options > Delphi Compiler > Linking.
  • Enable the Output resource string .drc file option in Project > Options > Delphi Compiler > Linking.

 

 

  • Thanks 1

Share this post


Link to post
9 hours ago, Uwe Raabe said:

Looks like as designed:

Yep, you're right. XE2 help hasn't this note but 10.3 has. I wonder what the purpose of this.

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×