2009-09-15 23 views

回答

9

有2種方式來生成一個詳細的.MAP文件。

1)您必須確保設置了{D+} compiler指令,並且在IDE的Project> Options> Linker頁面中選擇了「Detailed Map File」選項。

2)另一種方法是使用從-GD Delphi command-line compiler

dcc32.exe -B -DDEBUG -GD yourprojectname.dpr 

Delphi Compiler Directives (Embarcadero List)

Delphi Compiler Directives

$D  Determines whether application debug information is built 
    $DebugInfo Determines whether application debug information is built 

再見。

+1

雖然編譯器指令列表非常好,但它對* this *問題沒有用,因爲有* no *編譯器指令用於指示編譯器生成詳細的映​​射文件。請考慮通過刪除無關列表來讓您的答案更加簡潔。 –

+0

羅布,你是對的,名單太廣泛了。 ;) – RRUZ

相關問題