From 85087cf8c2c6a9b5fb7e468c9f32e570bc919a32 Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 7 Feb 2000 12:19:26 +0000 Subject: [PATCH] * -gl option added --- compiler/errore.msg | 223 ++++++++++++++++++++++---------------------- compiler/msgidx.inc | 1 + compiler/msgtxt.inc | 73 ++++++++------- 3 files changed, 150 insertions(+), 147 deletions(-) diff --git a/compiler/errore.msg b/compiler/errore.msg index c6ace6d9ee..4a29821961 100644 --- a/compiler/errore.msg +++ b/compiler/errore.msg @@ -1668,118 +1668,119 @@ ol035=*g1g_generate debugger information: ol036=*g2gg_use gsym ol037=*g2gd_use dbx ol038=*g2gh_use heap trace unit (for memory leak debugging) -ol039=*g2gc_generate checks for pointers -ol040=**1i_information -ol041=**2iD_return compiler date -ol042=**2iV_return compiler version -ol043=**2iSO_return compiler OS -ol044=**2iSP_return compiler processor -ol045=**2iTO_return target OS -ol046=**2iTP_return target processor -ol047=**1I_adds to include path -ol048=**1k_Pass to the linker -ol049=**1l_write logo -ol050=**1n_don't read the default config file -ol051=**1o_change the name of the executable produced to -ol052=**1pg_generate profile code for gprof (defines FPC_PROFILE) -ol053=*L1P_use pipes instead of creating temporary assembler files -ol054=**1S_syntax options: -ol055=**2S2_switch some Delphi 2 extensions on -ol056=**2Sc_supports operators like C (*=,+=,/= and -=) -ol057=**2Sd_tries to be Delphi compatible -ol058=**2Se_compiler stops after the errors (default is 1) -ol059=**2Sg_allow LABEL and GOTO -ol060=**2Sh_Use ansistrings -ol061=**2Si_support C++ styled INLINE -ol062=**2Sm_support macros like C (global) -ol063=**2So_tries to be TP/BP 7.0 compatible -ol064=**2Sp_tries to be gpc compatible -ol065=**2Ss_constructor name must be init (destructor must be done) -ol066=**2St_allow static keyword in objects -ol067=**1s_don't call assembler and linker (only with -a) -ol068=**1u_undefines the symbol -ol069=**1U_unit options: -ol070=**2Un_don't check the unit name -ol071=**2Us_compile a system unit -ol072=**1v_Be verbose. is a combination of the following letters: -ol073=**2*_e : Show errors (default) d : Show debug info -ol074=**2*_w : Show warnings u : Show unit info -ol075=**2*_n : Show notes t : Show tried/used files -ol076=**2*_h : Show hints m : Show defined macros -ol077=**2*_i : Show general info p : Show compiled procedures -ol078=**2*_l : Show linenumbers c : Show conditionals -ol079=**2*_a : Show everything 0 : Show nothing (except errors) -ol080=**2*_b : Show all procedure r : Rhide/GCC compatibility mode -ol081=**2*_ declarations if an error x : Executable info (Win32 only) -ol082=**2*_ occurs -ol083=**1X_executable options: -ol084=*L2Xc_link with the c library -ol085=**2Xs_strip all symbols from executable -ol086=**2XD_try to link dynamic (defines FPC_LINK_DYNAMIC) -ol087=**2XS_try to link static (default) (defines FPC_LINK_STATIC) -ol088=**2XX_try to link smart (defines FPC_LINK_SMART) -ol089=**0*_Processor specific options: -ol090=3*1A_output format: -ol091=3*2Aas_assemble using GNU AS -ol092=3*2Aasaout_assemble using GNU AS for aout (Go32v1) -ol093=3*2Anasmcoff_coff (Go32v2) file using Nasm -ol094=3*2Anasmelf_elf32 (Linux) file using Nasm -ol095=3*2Anasmobj_obj file using Nasm -ol096=3*2Amasm_obj file using Masm (Microsoft) -ol097=3*2Atasm_obj file using Tasm (Borland) -ol098=3*2Acoff_coff (Go32v2) using internal writer -ol099=3*2Apecoff_pecoff (Win32) using internal writer -ol100=3*1R_assembler reading style: -ol101=3*2Ratt_read AT&T style assembler -ol102=3*2Rintel_read Intel style assembler -ol103=3*2Rdirect_copy assembler text directly to assembler file -ol104=3*1O_optimizations: -ol105=3*2Og_generate smaller code -ol106=3*2OG_generate faster code (default) -ol107=3*2Or_keep certain variables in registers -ol108=3*2Ou_enable uncertain optimizations (see docs) -ol109=3*2O1_level 1 optimizations (quick optimizations) -ol110=3*2O2_level 2 optimizations (-O1 + slower optimizations) -ol111=3*2O3_level 3 optimizations (same as -O2u) -ol112=3*2Op_target processor: -ol113=3*3Op1_set target processor to 386/486 -ol114=3*3Op2_set target processor to Pentium/PentiumMMX (tm) -ol115=3*3Op3_set target processor to PPro/PII/c6x86/K6 (tm) -ol116=3*1T_Target operating system: -ol117=3*2TGO32V1_version 1 of DJ Delorie DOS extender -ol118=3*2TGO32V2_version 2 of DJ Delorie DOS extender -ol119=3*2TLINUX_Linux -ol120=3*2TOS2_OS/2 2.x -ol121=3*2TWin32_Windows 32 Bit -ol122=3*1W_Win32 target options -ol123=3*2WB_Set Image base to Hexadecimal value -ol124=3*2WC_Specify console type application -ol125=3*2WD_Use DEFFILE to export functions of DLL or EXE -ol126=3*2WG_Specify graphic type application -ol127=3*2WN_Do not generate relocation code (necessary for debugging) -ol128=3*2WR_Generate relocation code -ol129=6*1A_output format -ol130=6*2Aas_Unix o-file using GNU AS -ol131=6*2Agas_GNU Motorola assembler -ol132=6*2Amit_MIT Syntax (old GAS) -ol133=6*2Amot_Standard Motorola assembler -ol134=6*1O_optimizations: -ol135=6*2Oa_turn on the optimizer -ol136=6*2Og_generate smaller code -ol137=6*2OG_generate faster code (default) -ol138=6*2Ox_optimize maximum (still BUGGY!!!) -ol139=6*2O2_set target processor to a MC68020+ -ol140=6*1R_assembler reading style: -ol141=6*2RMOT_read motorola style assembler -ol142=6*1T_Target operating system: -ol143=6*2TAMIGA_Commodore Amiga -ol144=6*2TATARI_Atari ST/STe/TT -ol145=6*2TMACOS_Macintosh m68k -ol146=6*2TLINUX_Linux-68k -ol147=**1*_ -ol148=**1?_shows this help +ol039=*g2gl_use line info unit to show more info for backtraces +ol040=*g2gc_generate checks for pointers +ol041=**1i_information +ol042=**2iD_return compiler date +ol043=**2iV_return compiler version +ol044=**2iSO_return compiler OS +ol045=**2iSP_return compiler processor +ol046=**2iTO_return target OS +ol047=**2iTP_return target processor +ol048=**1I_adds to include path +ol049=**1k_Pass to the linker +ol050=**1l_write logo +ol051=**1n_don't read the default config file +ol052=**1o_change the name of the executable produced to +ol053=**1pg_generate profile code for gprof (defines FPC_PROFILE) +ol054=*L1P_use pipes instead of creating temporary assembler files +ol055=**1S_syntax options: +ol056=**2S2_switch some Delphi 2 extensions on +ol057=**2Sc_supports operators like C (*=,+=,/= and -=) +ol058=**2Sd_tries to be Delphi compatible +ol059=**2Se_compiler stops after the errors (default is 1) +ol060=**2Sg_allow LABEL and GOTO +ol061=**2Sh_Use ansistrings +ol062=**2Si_support C++ styled INLINE +ol063=**2Sm_support macros like C (global) +ol064=**2So_tries to be TP/BP 7.0 compatible +ol065=**2Sp_tries to be gpc compatible +ol066=**2Ss_constructor name must be init (destructor must be done) +ol067=**2St_allow static keyword in objects +ol068=**1s_don't call assembler and linker (only with -a) +ol069=**1u_undefines the symbol +ol070=**1U_unit options: +ol071=**2Un_don't check the unit name +ol072=**2Us_compile a system unit +ol073=**1v_Be verbose. is a combination of the following letters: +ol074=**2*_e : Show errors (default) d : Show debug info +ol075=**2*_w : Show warnings u : Show unit info +ol076=**2*_n : Show notes t : Show tried/used files +ol077=**2*_h : Show hints m : Show defined macros +ol078=**2*_i : Show general info p : Show compiled procedures +ol079=**2*_l : Show linenumbers c : Show conditionals +ol080=**2*_a : Show everything 0 : Show nothing (except errors) +ol081=**2*_b : Show all procedure r : Rhide/GCC compatibility mode +ol082=**2*_ declarations if an error x : Executable info (Win32 only) +ol083=**2*_ occurs +ol084=**1X_executable options: +ol085=*L2Xc_link with the c library +ol086=**2Xs_strip all symbols from executable +ol087=**2XD_try to link dynamic (defines FPC_LINK_DYNAMIC) +ol088=**2XS_try to link static (default) (defines FPC_LINK_STATIC) +ol089=**2XX_try to link smart (defines FPC_LINK_SMART) +ol090=**0*_Processor specific options: +ol091=3*1A_output format: +ol092=3*2Aas_assemble using GNU AS +ol093=3*2Aasaout_assemble using GNU AS for aout (Go32v1) +ol094=3*2Anasmcoff_coff (Go32v2) file using Nasm +ol095=3*2Anasmelf_elf32 (Linux) file using Nasm +ol096=3*2Anasmobj_obj file using Nasm +ol097=3*2Amasm_obj file using Masm (Microsoft) +ol098=3*2Atasm_obj file using Tasm (Borland) +ol099=3*2Acoff_coff (Go32v2) using internal writer +ol100=3*2Apecoff_pecoff (Win32) using internal writer +ol101=3*1R_assembler reading style: +ol102=3*2Ratt_read AT&T style assembler +ol103=3*2Rintel_read Intel style assembler +ol104=3*2Rdirect_copy assembler text directly to assembler file +ol105=3*1O_optimizations: +ol106=3*2Og_generate smaller code +ol107=3*2OG_generate faster code (default) +ol108=3*2Or_keep certain variables in registers +ol109=3*2Ou_enable uncertain optimizations (see docs) +ol110=3*2O1_level 1 optimizations (quick optimizations) +ol111=3*2O2_level 2 optimizations (-O1 + slower optimizations) +ol112=3*2O3_level 3 optimizations (same as -O2u) +ol113=3*2Op_target processor: +ol114=3*3Op1_set target processor to 386/486 +ol115=3*3Op2_set target processor to Pentium/PentiumMMX (tm) +ol116=3*3Op3_set target processor to PPro/PII/c6x86/K6 (tm) +ol117=3*1T_Target operating system: +ol118=3*2TGO32V1_version 1 of DJ Delorie DOS extender +ol119=3*2TGO32V2_version 2 of DJ Delorie DOS extender +ol120=3*2TLINUX_Linux +ol121=3*2TOS2_OS/2 2.x +ol122=3*2TWin32_Windows 32 Bit +ol123=3*1W_Win32 target options +ol124=3*2WB_Set Image base to Hexadecimal value +ol125=3*2WC_Specify console type application +ol126=3*2WD_Use DEFFILE to export functions of DLL or EXE +ol127=3*2WG_Specify graphic type application +ol128=3*2WN_Do not generate relocation code (necessary for debugging) +ol129=3*2WR_Generate relocation code +ol130=6*1A_output format +ol131=6*2Aas_Unix o-file using GNU AS +ol132=6*2Agas_GNU Motorola assembler +ol133=6*2Amit_MIT Syntax (old GAS) +ol134=6*2Amot_Standard Motorola assembler +ol135=6*1O_optimizations: +ol136=6*2Oa_turn on the optimizer +ol137=6*2Og_generate smaller code +ol138=6*2OG_generate faster code (default) +ol139=6*2Ox_optimize maximum (still BUGGY!!!) +ol140=6*2O2_set target processor to a MC68020+ +ol141=6*1R_assembler reading style: +ol142=6*2RMOT_read motorola style assembler +ol143=6*1T_Target operating system: +ol144=6*2TAMIGA_Commodore Amiga +ol145=6*2TATARI_Atari ST/STe/TT +ol146=6*2TMACOS_Macintosh m68k +ol147=6*2TLINUX_Linux-68k +ol148=**1*_ +ol149=**1?_shows this help ol_end=**1h_shows this help without waiting # # The End... -# \ No newline at end of file +# diff --git a/compiler/msgidx.inc b/compiler/msgidx.inc index 2eea9190d8..0772d76975 100644 --- a/compiler/msgidx.inc +++ b/compiler/msgidx.inc @@ -675,6 +675,7 @@ type tmsgconst=( ol146, ol147, ol148, + ol149, ol_end, endmsgconst ); diff --git a/compiler/msgtxt.inc b/compiler/msgtxt.inc index a90f2e722f..094f54db2c 100644 --- a/compiler/msgtxt.inc +++ b/compiler/msgtxt.inc @@ -589,113 +589,114 @@ const msgtxt : array[0..000108,1..240] of char=( '*g2gg_use gsym'#000+ '*g2gd_use dbx'#000+ '*g2gh_use heap trace unit (for memory leak debugging)'#000+ + '*g2gl_use line info unit to show more info for backtraces'#000+ '*g2gc_generate checks for pointers'#000+ '**1i_information'#000+ - '**2iD_return compiler date'#000+ + '**2i','D_return compiler date'#000+ '**2iV_return compiler version'#000+ - '**2iS','O_return compiler OS'#000+ + '**2iSO_return compiler OS'#000+ '**2iSP_return compiler processor'#000+ '**2iTO_return target OS'#000+ '**2iTP_return target processor'#000+ '**1I_adds to include path'#000+ '**1k_Pass to the linker'#000+ - '**1l_write logo'#000+ + '**1l_writ','e logo'#000+ '**1n_don'#039't read the default config file'#000+ - '**1o_cha','nge the name of the executable produced to '#000+ + '**1o_change the name of the executable produced to '#000+ '**1pg_generate profile code for gprof (defines FPC_PROFILE)'#000+ '*L1P_use pipes instead of creating temporary assembler files'#000+ - '**1S_syntax options:'#000+ + '**1S_syntax',' options:'#000+ '**2S2_switch some Delphi 2 extensions on'#000+ - '**2Sc_s','upports operators like C (*=,+=,/= and -=)'#000+ + '**2Sc_supports operators like C (*=,+=,/= and -=)'#000+ '**2Sd_tries to be Delphi compatible'#000+ '**2Se_compiler stops after the errors (default is 1)'#000+ '**2Sg_allow LABEL and GOTO'#000+ - '**2Sh_Use ansistrings'#000+ + '**2Sh_Use ansist','rings'#000+ '**2Si_support C++ styled INLINE'#000+ - '**2Sm_support macros',' like C (global)'#000+ + '**2Sm_support macros like C (global)'#000+ '**2So_tries to be TP/BP 7.0 compatible'#000+ '**2Sp_tries to be gpc compatible'#000+ '**2Ss_constructor name must be init (destructor must be done)'#000+ - '**2St_allow static keyword in objects'#000+ - '**1s_don'#039't call assembler and linker (only with -a)',#000+ + '**2St_allow static keyword in o','bjects'#000+ + '**1s_don'#039't call assembler and linker (only with -a)'#000+ '**1u_undefines the symbol '#000+ '**1U_unit options:'#000+ '**2Un_don'#039't check the unit name'#000+ '**2Us_compile a system unit'#000+ '**1v_Be verbose. is a combination of the following letters:'#000+ - '**2*_e : Show errors (default) d : Show debug info'#000+ - '**2','*_w : Show warnings u : Show unit info'#000+ + '**','2*_e : Show errors (default) d : Show debug info'#000+ + '**2*_w : Show warnings u : Show unit info'#000+ '**2*_n : Show notes t : Show tried/used files'#000+ '**2*_h : Show hints m : Show defined macros'#000+ - '**2*_i : Show general info p : Show compiled procedur','es'#000+ + '**2*_','i : Show general info p : Show compiled procedures'#000+ '**2*_l : Show linenumbers c : Show conditionals'#000+ '**2*_a : Show everything 0 : Show nothing (except errors)'#000+ - '**2*_b : Show all procedure r : Rhide/GCC compatibility mode'#000+ - '**2*_ declarations if an error x',' : Executable info (Win32 only'+ - ')'#000+ + '**2*_b : Show all procedure r : Rhide/GCC',' compatibility mod'+ + 'e'#000+ + '**2*_ declarations if an error x : Executable info (Win32 only)'#000+ '**2*_ occurs'#000+ '**1X_executable options:'#000+ '*L2Xc_link with the c library'#000+ '**2Xs_strip all symbols from executable'#000+ - '**2XD_try to link dynamic (defines FPC_LINK_DYNAMIC)'#000+ - '**2XS_try to link static (default) ','(defines FPC_LINK_STATIC)'#000+ + '**2XD_try to link dynamic (def','ines FPC_LINK_DYNAMIC)'#000+ + '**2XS_try to link static (default) (defines FPC_LINK_STATIC)'#000+ '**2XX_try to link smart (defines FPC_LINK_SMART)'#000+ '**0*_Processor specific options:'#000+ '3*1A_output format:'#000+ '3*2Aas_assemble using GNU AS'#000+ - '3*2Aasaout_assemble using GNU AS for aout (Go32v1)'#000+ - '3*2Anasmcoff_coff ','(Go32v2) file using Nasm'#000+ + '3*2Aasaout_','assemble using GNU AS for aout (Go32v1)'#000+ + '3*2Anasmcoff_coff (Go32v2) file using Nasm'#000+ '3*2Anasmelf_elf32 (Linux) file using Nasm'#000+ '3*2Anasmobj_obj file using Nasm'#000+ '3*2Amasm_obj file using Masm (Microsoft)'#000+ '3*2Atasm_obj file using Tasm (Borland)'#000+ - '3*2Acoff_coff (Go32v2) using internal writer'#000+ - '3*2Apecoff_pecof','f (Win32) using internal writer'#000+ + '3*2','Acoff_coff (Go32v2) using internal writer'#000+ + '3*2Apecoff_pecoff (Win32) using internal writer'#000+ '3*1R_assembler reading style:'#000+ '3*2Ratt_read AT&T style assembler'#000+ '3*2Rintel_read Intel style assembler'#000+ - '3*2Rdirect_copy assembler text directly to assembler file'#000+ + '3*2Rdirect_copy assembler text directly to ass','embler file'#000+ '3*1O_optimizations:'#000+ - '3*2Og_generate smaller ','code'#000+ + '3*2Og_generate smaller code'#000+ '3*2OG_generate faster code (default)'#000+ '3*2Or_keep certain variables in registers'#000+ '3*2Ou_enable uncertain optimizations (see docs)'#000+ - '3*2O1_level 1 optimizations (quick optimizations)'#000+ + '3*2O1_level 1 optimizations (quick optimizations)'#000, '3*2O2_level 2 optimizations (-O1 + slower optimizations)'#000+ - '3','*2O3_level 3 optimizations (same as -O2u)'#000+ + '3*2O3_level 3 optimizations (same as -O2u)'#000+ '3*2Op_target processor:'#000+ '3*3Op1_set target processor to 386/486'#000+ '3*3Op2_set target processor to Pentium/PentiumMMX (tm)'#000+ - '3*3Op3_set target processor to PPro/PII/c6x86/K6 (tm)'#000+ - '3*1T_Target operatin','g system:'#000+ + '3*3Op3_set target p','rocessor to PPro/PII/c6x86/K6 (tm)'#000+ + '3*1T_Target operating system:'#000+ '3*2TGO32V1_version 1 of DJ Delorie DOS extender'#000+ '3*2TGO32V2_version 2 of DJ Delorie DOS extender'#000+ '3*2TLINUX_Linux'#000+ '3*2TOS2_OS/2 2.x'#000+ '3*2TWin32_Windows 32 Bit'#000+ - '3*1W_Win32 target options'#000+ - '3*2WB_Set Image base to Hexadecimal valu','e'#000+ + '3*1W_Win32 targ','et options'#000+ + '3*2WB_Set Image base to Hexadecimal value'#000+ '3*2WC_Specify console type application'#000+ '3*2WD_Use DEFFILE to export functions of DLL or EXE'#000+ '3*2WG_Specify graphic type application'#000+ - '3*2WN_Do not generate relocation code (necessary for debugging)'#000+ + '3*2WN_Do not generate relocation code (necessary f','or debugging)'#000+ '3*2WR_Generate relocation code'#000+ - '6*1A_outpu','t format'#000+ + '6*1A_output format'#000+ '6*2Aas_Unix o-file using GNU AS'#000+ '6*2Agas_GNU Motorola assembler'#000+ '6*2Amit_MIT Syntax (old GAS)'#000+ '6*2Amot_Standard Motorola assembler'#000+ '6*1O_optimizations:'#000+ - '6*2Oa_turn on the optimizer'#000+ + '6*2Oa_turn on the optimiz','er'#000+ '6*2Og_generate smaller code'#000+ - '6*2OG_generate faster code ','(default)'#000+ + '6*2OG_generate faster code (default)'#000+ '6*2Ox_optimize maximum (still BUGGY!!!)'#000+ '6*2O2_set target processor to a MC68020+'#000+ '6*1R_assembler reading style:'#000+ '6*2RMOT_read motorola style assembler'#000+ - '6*1T_Target operating system:'#000+ + '6*1T_Target opera','ting system:'#000+ '6*2TAMIGA_Commodore Amiga'#000+ - '6*2TATARI_Atari ST/','STe/TT'#000+ + '6*2TATARI_Atari ST/STe/TT'#000+ '6*2TMACOS_Macintosh m68k'#000+ '6*2TLINUX_Linux-68k'#000+ '**1*_'#000+