瀏覽代碼

+ help for -Xm and -XM (forgot to commit last time)

git-svn-id: trunk@513 -
Jonas Maebe 20 年之前
父節點
當前提交
43e4571fe9
共有 3 個文件被更改,包括 10 次插入5 次删除
  1. 2 0
      compiler/msg/errore.msg
  2. 1 1
      compiler/msgidx.inc
  3. 7 4
      compiler/msgtxt.inc

+ 2 - 0
compiler/msg/errore.msg

@@ -2366,6 +2366,8 @@ P*2WT_Specify tool type application (MPW tool, MacOS only)
 **2Xc_pass --shared to the linker (Unix only)
 **2Xd_don't use standard library search path (needed for cross compile)
 **2XD_try to link units dynamic          (defines FPC_LINK_DYNAMIC)
+**2Xm_generate link map
+**2XM<x>_set the name of the 'main' program routine (default is 'main')
 **2XP<x>_prepend the binutils names with the prefix <x>
 **2Xr<x>_set library search path to <x> (needed for cross compile)
 **2Xs_strip all symbols from executable

+ 1 - 1
compiler/msgidx.inc

@@ -656,7 +656,7 @@ const
   option_info=11024;
   option_help_pages=11025;
 
-  MsgTxtSize = 38665;
+  MsgTxtSize = 38761;
 
   MsgIdxMax : array[1..20] of longint=(
     19,72,214,59,59,46,100,20,35,60,

+ 7 - 4
compiler/msgtxt.inc

@@ -933,13 +933,16 @@ const msgtxt : array[0..000161,1..240] of char=(
   '**2Xd_don'#039't use standard library search path (needed for c','ross c'+
   'ompile)'#010+
   '**2XD_try to link units dynamic          (defines FPC_LINK_DYNAMIC)'#010+
+  '**2Xm_generate link map'#010+
+  '**2XM<x>_set the name of the '#039'main'#039' program routine (default i'+
+  's '#039'main'#039')'#010+
   '**2XP<x>_prepend the binutils names with the prefix <x>'#010+
-  '**2Xr<x>_set library search path to <x> (needed for cross compile)'#010+
-  '**2Xs_strip all symbols from execut','able'#010+
+  '**2Xr<','x>_set library search path to <x> (needed for cross compile)'#010+
+  '**2Xs_strip all symbols from executable'#010+
   '**2XS_try to link units static (default) (defines FPC_LINK_STATIC)'#010+
   '**2Xt_link with static libraries (-static is passed to linker)'#010+
-  '**2XX_try to link units smart            (defines FPC_LINK_SMART)'#010+
+  '**2XX_try',' to link units smart            (defines FPC_LINK_SMART)'#010+
   '**1*_'#010+
   '**1?_shows this help'#010+
-  '**1h_shows t','his help without waiting'#000
+  '**1h_shows this help without waiting'#000
 );