mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 16:09:31 +02:00
+ new messagefile
* merged optione.msg into errore.msg
This commit is contained in:
parent
9800ecdb4d
commit
5eaee9c9ad
1075
compiler/errorn.msg
1075
compiler/errorn.msg
File diff suppressed because it is too large
Load Diff
@ -56,6 +56,10 @@ CPU= i386
|
||||
# CPU= m68k
|
||||
endif
|
||||
|
||||
ifndef LANGUAGE
|
||||
LANGUAGE=e
|
||||
endif
|
||||
|
||||
#####################################################################
|
||||
# Setup Files Directories
|
||||
#####################################################################
|
||||
@ -71,6 +75,8 @@ REPLACE=mv -f
|
||||
REMOVE=rm
|
||||
CP=cp -f
|
||||
|
||||
MSGFILE=error$(LANGUAGE).msg
|
||||
|
||||
COMPILERDIR=$(BASEDIR)
|
||||
RTLDIR:=$(BASEDIR)/../rtl
|
||||
|
||||
@ -282,13 +288,10 @@ endif
|
||||
# Make targets
|
||||
#####################################################################
|
||||
|
||||
msgtxt.inc: errore.msg
|
||||
msg2inc errore.msg msgtxt.inc msgtxt
|
||||
msgtxt.inc: $(MSGFILE)
|
||||
msg2inc $(MSGFILE) msg msg
|
||||
|
||||
optmsg.inc: optione.msg
|
||||
msg2inc optione.msg optmsg.inc optiontxt
|
||||
|
||||
msg: msgtxt.inc optmsg.inc
|
||||
msg: msgtxt.inc
|
||||
|
||||
# Make only the compiler
|
||||
ifdef inlinux
|
||||
@ -335,7 +338,7 @@ cycle:
|
||||
ansirtl:
|
||||
$(MAKE) -C $(UNITDIR) clean
|
||||
$(MAKE) -C $(UNITDIR) PP=$(COMPILERDIR)/ppc386 \
|
||||
OPT='-g -dUSeAnsiStrings' all
|
||||
OPT='-g -dUSeAnsiStrings' all
|
||||
|
||||
#####################################################################
|
||||
# Installation
|
||||
@ -456,7 +459,11 @@ $(M68KEXENAME):
|
||||
# Test of log at the end
|
||||
# does CVS add # at start of each line ??
|
||||
# $Log$
|
||||
# Revision 1.27 1998-08-21 15:16:56 peter
|
||||
# Revision 1.28 1998-08-29 13:52:30 peter
|
||||
# + new messagefile
|
||||
# * merged optione.msg into errore.msg
|
||||
#
|
||||
# Revision 1.27 1998/08/21 15:16:56 peter
|
||||
# * win32 compiles a bit better, no growheap crash
|
||||
#
|
||||
# Revision 1.26 1998/08/21 14:08:46 pierre
|
||||
|
@ -36,6 +36,7 @@ type
|
||||
constructor Init(p:pointer;n:longint);
|
||||
constructor InitExtern(const fn:string;n:longint);
|
||||
destructor Done;
|
||||
procedure CreateIdx;
|
||||
function Get(nr:longint):string;
|
||||
function Get3(nr:longint;const s1,s2,s3:string):string;
|
||||
function Get2(nr:longint;const s1,s2:string):string;
|
||||
@ -48,88 +49,78 @@ uses
|
||||
strings;
|
||||
|
||||
constructor TMessage.Init(p:pointer;n:longint);
|
||||
var
|
||||
hp : pchar;
|
||||
hpl : ppchar;
|
||||
begin
|
||||
hp:=pchar(p);
|
||||
msgtxt:=hp;
|
||||
msgtxt:=pchar(p);
|
||||
msgsize:=0;
|
||||
msgs:=n;
|
||||
getmem(msgidx,msgs shl 2);
|
||||
hpl:=msgidx;
|
||||
n:=0;
|
||||
while (n<msgs) do
|
||||
begin
|
||||
hpl^:=hp;
|
||||
hpl:=pointer(longint(hpl)+4);
|
||||
inc(n);
|
||||
hp:=pchar(@hp[strlen(hp)+1]);
|
||||
end;
|
||||
CreateIdx;
|
||||
end;
|
||||
|
||||
|
||||
constructor TMessage.InitExtern(const fn:string;n:longint);
|
||||
const
|
||||
bufsize=8192;
|
||||
var
|
||||
f : file;
|
||||
bufread : word;
|
||||
i,j : longint;
|
||||
p : pchar;
|
||||
hpl : ppchar;
|
||||
f : text;
|
||||
line,i : longint;
|
||||
ptxt : pchar;
|
||||
s : string;
|
||||
buf : pointer;
|
||||
begin
|
||||
msgs:=0;
|
||||
msgsize:=0;
|
||||
msgidx:=nil;
|
||||
getmem(buf,bufsize);
|
||||
{Read the message file}
|
||||
msgfilename:=fn;
|
||||
assign(f,fn);
|
||||
{$I-}
|
||||
reset(f,1);
|
||||
reset(f);
|
||||
{$I+}
|
||||
if ioresult<>0 then
|
||||
begin
|
||||
WriteLn('*** message file '+msgfilename+' not found ***');
|
||||
WriteLn('*** message file '+fn+' not found ***');
|
||||
exit;
|
||||
end;
|
||||
msgsize:=filesize(f);
|
||||
getmem(msgtxt,msgsize+1);
|
||||
blockread(f,msgtxt^,msgsize,bufread);
|
||||
msgtxt[msgsize]:=#10;
|
||||
close(f);
|
||||
inc(msgsize);
|
||||
{Parse buffer in msgtxt and create indexs}
|
||||
settextbuf(f,buf^,bufsize);
|
||||
{ First parse the file and count bytes needed }
|
||||
line:=0;
|
||||
msgs:=n;
|
||||
getmem(msgidx,msgs shl 2);
|
||||
hpl:=msgidx;
|
||||
p:=msgtxt;
|
||||
i:=0;
|
||||
n:=0;
|
||||
while (i<bufread) and (n<msgs) do
|
||||
msgsize:=0;
|
||||
while not eof(f) do
|
||||
begin
|
||||
j:=0;
|
||||
while (i<bufread) and (not (p[j] in [#10,#13])) and (j<255) do
|
||||
readln(f,s);
|
||||
inc(line);
|
||||
if (s<>'') and not(s[1] in ['#',';','%']) then
|
||||
begin
|
||||
inc(i);
|
||||
inc(j);
|
||||
end;
|
||||
if (i>=bufread) then
|
||||
break;
|
||||
if not (p[0] in [';','#']) then
|
||||
begin
|
||||
hpl^:=p;
|
||||
hpl:=pointer(longint(hpl)+4);
|
||||
inc(n);
|
||||
if (p[0]='<') and (p[1]='l') and (p[2]='f') and (p[3]='>') then
|
||||
p[0]:=#0
|
||||
i:=pos('=',s);
|
||||
if i>0 then
|
||||
inc(msgsize,length(s)-i+1)
|
||||
else
|
||||
p[j]:=#0;
|
||||
writeln('error in line: ',line,' skipping');
|
||||
end;
|
||||
repeat
|
||||
inc(i);
|
||||
inc(j);
|
||||
until (i>=bufread) or not(p[j] in [#10,#13]);
|
||||
p:=pchar(@p[j]);
|
||||
end;
|
||||
{ now read the buffer in mem }
|
||||
getmem(msgtxt,msgsize);
|
||||
ptxt:=msgtxt;
|
||||
reset(f);
|
||||
while not eof(f) do
|
||||
begin
|
||||
readln(f,s);
|
||||
inc(line);
|
||||
if (s<>'') and not(s[1] in ['#',';']) then
|
||||
begin
|
||||
i:=pos('=',s);
|
||||
if i>0 then
|
||||
begin
|
||||
{txt}
|
||||
move(s[i+1],ptxt^,length(s)-i);
|
||||
inc(ptxt,length(s)-i);
|
||||
ptxt^:=#0;
|
||||
inc(ptxt);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
close(f);
|
||||
freemem(buf,bufsize);
|
||||
{ now we can create the index }
|
||||
CreateIdx;
|
||||
end;
|
||||
|
||||
|
||||
@ -143,6 +134,26 @@ begin
|
||||
end;
|
||||
|
||||
|
||||
procedure TMessage.CreateIdx;
|
||||
var
|
||||
hp : pchar;
|
||||
hpl : ppchar;
|
||||
n : longint;
|
||||
begin
|
||||
getmem(msgidx,msgs shl 2);
|
||||
hpl:=msgidx;
|
||||
hp:=msgtxt;
|
||||
n:=0;
|
||||
while (n<msgs) do
|
||||
begin
|
||||
hpl^:=hp;
|
||||
hpl:=pointer(longint(hpl)+4);
|
||||
inc(n);
|
||||
hp:=pchar(@hp[strlen(hp)+1]);
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
function TMessage.Get(nr:longint):string;
|
||||
var
|
||||
s : string[16];
|
||||
@ -214,7 +225,11 @@ end;
|
||||
end.
|
||||
{
|
||||
$Log$
|
||||
Revision 1.2 1998-08-18 09:05:00 peter
|
||||
Revision 1.3 1998-08-29 13:52:31 peter
|
||||
+ new messagefile
|
||||
* merged optione.msg into errore.msg
|
||||
|
||||
Revision 1.2 1998/08/18 09:05:00 peter
|
||||
* fixed range errror
|
||||
|
||||
}
|
||||
|
1038
compiler/msgidx.inc
1038
compiler/msgidx.inc
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
||||
const msgtxt : array[0..00058,1..255] of char=(
|
||||
const msgtxt : array[0..00084,1..240] of char=(+
|
||||
'U_Compiler: $1'#000+
|
||||
'D_Source OS: $1'#000+
|
||||
'I_Target OS: $1'#000+
|
||||
@ -9,8 +9,8 @@ const msgtxt : array[0..00058,1..255] of char=(
|
||||
'U_Using object path: $1'#000+
|
||||
'I_$1 Lines compiled, $2 sec'#000+
|
||||
'F_No memory left'#000+
|
||||
'F_Unexpected end of file'#000+
|
||||
'F_String excee','ds line'#000+
|
||||
'F_Unexpected end of file',#000+
|
||||
'F_String exceeds line'#000+
|
||||
'F_illegal character'#000+
|
||||
'F_Syntax error $1 expected'#000+
|
||||
'U_Start reading includefile $1'#000+
|
||||
@ -18,28 +18,28 @@ const msgtxt : array[0..00058,1..255] of char=(
|
||||
'N_$F directive (FAR) ignored'#000+
|
||||
'N_Stack check is global under linux'#000+
|
||||
'W_Illegal compiler switch'#000+
|
||||
'W_This compiler switch has a global effect'#000+
|
||||
'E_Illegal ','char constant'#000+
|
||||
'W_This compiler switch ','has a global effect'#000+
|
||||
'E_Illegal char constant'#000+
|
||||
'F_Can'#039't open file $1'#000+
|
||||
'F_Can'#039't open include file $1'#000+
|
||||
'E_Too many $ENDIFs or $ELSEs'#000+
|
||||
'W_Records fields can be aligned to 1,2,4 or 16 bytes only'#000+
|
||||
'E_$1 expected for $2 defined in line $3'#000+
|
||||
'E_Syntax error while parsing a conditional compiling expression'#000,+
|
||||
'E_Syntax error whil','e parsing a conditional compiling expression'#000+
|
||||
'E_Evaluating a conditional compiling expression'#000+
|
||||
'W_Macro contents is cut after char 255 to evalute expression'#000+
|
||||
'E_ENDIF without IF(N)DEF'#000+
|
||||
'F_User defined: $1'#000+
|
||||
'E_User defined: $1'#000+
|
||||
'W_User defined: $1'#000+
|
||||
'N_User defined: $1'#000+
|
||||
'N_Us','er defined: $1'#000+
|
||||
'H_User defined: $1'#000+
|
||||
'I_User defined: $1'#000+
|
||||
'E_Keywo','rd redefined as macro has no effect'#000+
|
||||
'E_Keyword redefined as macro has no effect'#000+
|
||||
'F_Macro buffer overflow while reading or expanding a macro'#000+
|
||||
'W_Extension of macros exceeds a deep of 16, perhaps there is a recursi'+
|
||||
've macro definition (crashes the compiler)'#000+
|
||||
'E_compiler switches aren'#039't allowed in (* ... *)',' styled comments'#000+
|
||||
've macro defini','tion (crashes the compiler)'#000+
|
||||
'E_compiler switches aren'#039't allowed in (* ... *) styled comments'#000+
|
||||
'D_Handling switch "$1"'#000+
|
||||
'C_ENDIF $1 found'#000+
|
||||
'C_IFDEF $1 found, $2'#000+
|
||||
@ -47,69 +47,69 @@ const msgtxt : array[0..00058,1..255] of char=(
|
||||
'C_IF $1 found, $2'#000+
|
||||
'C_IFNDEF $1 found, $2'#000+
|
||||
'C_ELSE $1 found, $2'#000+
|
||||
'C_Skipping until...'#000+
|
||||
'C_Skip','ping until...'#000+
|
||||
'I_Press <return> to continue'#000+
|
||||
'W_Unsupported switch $1'#000+
|
||||
'W_Illegal compiler dire','ctive $1'#000+
|
||||
'W_Illegal compiler directive $1'#000+
|
||||
'D_Back in $1'#000+
|
||||
'W_Unsupported assembler style specified $1'#000+
|
||||
'E_Parser - Syntax Error'#000+
|
||||
'W_Procedure type FAR ignored'#000+
|
||||
'W_Procedure type NEAR ignored'#000+
|
||||
'E_No DLL File specified'#000+
|
||||
'E_','No DLL File specified'#000+
|
||||
'E_Constructor name must be INIT'#000+
|
||||
'E_Destructor name must be DONE'#000+
|
||||
'E_Illegal open param','eter'#000+
|
||||
'E_Illegal open parameter'#000+
|
||||
'E_Procedure type INLINE not supported'#000+
|
||||
'W_Private methods shouldn'#039't be VIRTUAL'#000+
|
||||
'W_Constructor should be public'#000+
|
||||
'W_Destructor should be public'#000+
|
||||
'W_Destructor should be',' public'#000+
|
||||
'N_Class should have one destructor only'#000+
|
||||
'E_Local class definitions are not allowed'#000+
|
||||
'E_Anonym class definitions are',' not allowed'#000+
|
||||
'E_Anonym class definitions are not allowed'#000+
|
||||
'E_Ordinal value expected'#000+
|
||||
'E_Illegal parameter list'#000+
|
||||
'E_overloaded identifier isn'#039't a function identifier'#000+
|
||||
'E_overloaded functions have the same parameter list'#000+
|
||||
'E_ove','rloaded functions have the same parameter list'#000+
|
||||
'E_function header doesn'#039't match the forward declaration $1'#000+
|
||||
'N_only values can be jumped o','ver in enumeration types'#000+
|
||||
'N_only values can be jumped over in enumeration types'#000+
|
||||
'N_Interface and implementation names are different !'#000+
|
||||
'E_function nesting > 31'#000+
|
||||
'E_range check error while evaluating constants'#000+
|
||||
'E_r','ange check error while evaluating constants'#000+
|
||||
'E_pointer type expected'#000+
|
||||
'E_class type expected'#000+
|
||||
'E_duplicate case label'#000+
|
||||
'E_typed constants of classes are not ','allowed'#000+
|
||||
'E_typed constants of classes are not allowed'#000+
|
||||
'E_functions variables of overloaded functions are not allowed'#000+
|
||||
'E_string length must be a value from 1 to 255'#000+
|
||||
'E_string length must',' be a value from 1 to 255'#000+
|
||||
'W_use extended syntax of DISPOSE and NEW to generate instances of obje'+
|
||||
'cts'#000+
|
||||
'E_class identifier expected'#000+
|
||||
'E_method identifier expected'#000+
|
||||
'E_functi','on header doesn'#039't match any method of this class'#000+
|
||||
'E_function header doesn'#039't match any method of this class'#000+
|
||||
'P_procedure/function $1'#000+
|
||||
'E_Illegal floating point constant'#000+
|
||||
'E_','Illegal floating point constant'#000+
|
||||
'E_FAIL can be used in constructors only'#000+
|
||||
'E_Destructors can'#039't have parameters'#000+
|
||||
'E_string types doesn'#039't match, because of $V+ mode'#000+
|
||||
'E_Only class methods c','an be referred with class references'#000+
|
||||
'E_Only class methods can be accessed in class methods'#000+
|
||||
'E_Only class methods can be referred with class references'#000+
|
||||
'E_Only class methods ca','n be accessed in class methods'#000+
|
||||
'E_Constant and CASE types do not match'#000+
|
||||
'E_The symbol can'#039't be exported from a library'#000+
|
||||
'W_A inherited method is hidden by $1'#000+
|
||||
'E_There is no method in an ancestor class ','to be overridden: $1'#000+
|
||||
'E_No member is provided to access property'#000+
|
||||
'E_There is no method in an ancestor class to be overridden: $1'#000+
|
||||
'E_No member is provided ','to access property'#000+
|
||||
'E_Illegal symbol for property access'#000+
|
||||
'E_Cannot access a protected field of an object here'#000+
|
||||
'E_Cannot access a private field of an object here'#000+
|
||||
'E_all overloaded methods must be virtual if one is v','irtual: $1'#000+
|
||||
'E_overloaded methods which are virtual must have the same return type:'+
|
||||
' $1'#000+
|
||||
'E_all overloaded methods must be virtual if one is virtual: $1'#000+
|
||||
'E_overloaded method','s which are virtual must have the same return typ'+
|
||||
'e: $1'#000+
|
||||
'E_EXPORT declared functions can'#039't be nested'#000+
|
||||
'E_methods can'#039't be EXPORTed'#000+
|
||||
'E_call by var parameters have to match exactly'#000+
|
||||
'E_Class isn'#039't a super class of the current class'#000+
|
||||
'E_','SELF is only allowed in methods'#000+
|
||||
'E_SELF is only al','lowed in methods'#000+
|
||||
'E_methods can be only in other methods called direct with type identif'+
|
||||
'ier of the class'#000+
|
||||
'E_Illegal use of '#039':'#039#000+
|
||||
@ -121,94 +121,93 @@ const msgtxt : array[0..00058,1..255] of char=(
|
||||
'W_Using / will give a floating point result, use DIV instead to get an'+
|
||||
' integer result'#000+
|
||||
'E_Illegal order of record elements'#000+
|
||||
'E_Expression type must by class or record typ','e'#000+
|
||||
'E_Expression type must by clas','s or record type'#000+
|
||||
'E_Functions with void return value can'#039't return any value'#000+
|
||||
'E_constructors and destructors must be methods'#000+
|
||||
'W_Automatic type conversion from floating type to COMP which is an int'+
|
||||
'eger type'#000+
|
||||
'E_Operator is not overloaded'#000+
|
||||
'E_Variable or type indentifier expected',#000+
|
||||
'E_Variabl','e or type indentifier expected'#000+
|
||||
'E_Re-raise isn'#039't possible there'#000+
|
||||
'E_The extended syntax of new or dispose isn'#039't allowed for a class'#000+
|
||||
'E_Assembler incompatible with function return value'#000+
|
||||
'E_Procedure overloading is switched off'#000+
|
||||
'E_It is not possible to overload this operator (overload = inste','ad)'#000+
|
||||
'E_It is not possibl','e to overload this operator (overload = instead)'#000+
|
||||
'E_Comparative operator must return a boolean value'#000+
|
||||
'E_Only virtual methods can be abstract'#000+
|
||||
'F_Use of unsupported feature!'#000+
|
||||
'E_The mix of CLASSES and OBJECTS isn'#039't allowed'#000+
|
||||
'W_Unknown procedure directive had to be ignored: $1'#000+
|
||||
'E_absolute can only be associate','d to ONE variable'#000+
|
||||
'W_Unknown procedure dire','ctive had to be ignored: $1'#000+
|
||||
'E_absolute can only be associated to ONE variable'#000+
|
||||
'E_absolute can only be associated a var or const'#000+
|
||||
'E_Abtract methods shouldn'#039't have any definition (with function bod'+
|
||||
'y)'#000+
|
||||
'E_This overloaded function can'#039't be local (must be exported)'#000+
|
||||
'E_This overloaded function can'#039't be local (m','ust be exported)'#000+
|
||||
'E_succ or pred on enums with assignments not possible'#000+
|
||||
'W_Vi','rtual methods are used without a constructor in $1'#000+
|
||||
'W_Virtual methods are used without a constructor in $1'#000+
|
||||
'M_Macro defined: $1'#000+
|
||||
'M_Macro undefined: $1'#000+
|
||||
'M_Macro $1 set to $2'#000+
|
||||
'I_Compiling $1'#000+
|
||||
'D_Compiling $1 for the second time'#000+
|
||||
'E_Array properties aren'#039't allowed at this point'#000+
|
||||
'E','_Array properties aren'#039't allowed at this point'#000+
|
||||
'E_No property found to override'#000+
|
||||
'E_Only one ','default property is allowed, found inherited default prop'+
|
||||
'erty in class %1'#000+
|
||||
'E_Only one default property is allowed, found inherited default proper'+
|
||||
'ty in class %1'#000+
|
||||
'E_The default property must be an array property'#000+
|
||||
'E_Virtual constructors are only supported in class object model'#000+
|
||||
'E_Virtual constructors are ','only supported in class object model'#000+
|
||||
'E_No default property available'#000+
|
||||
'E_The class can'#039't have a published s','ection, use the {$M+} switch'+
|
||||
#000+
|
||||
'E_The class can'#039't have a published section, use the {$M+} switch'#000+
|
||||
'E_Forward declaration of class $1 must be resolved here to use the cla'+
|
||||
'ss as anchestor'#000+
|
||||
'E_Local operators not supported'#000+
|
||||
'E_Local operators no','t supported'#000+
|
||||
'E_Procedure directive $1 not allowed in interface section'#000+
|
||||
'E_Procedure directive $1 not allowed in implementa','tion section'#000+
|
||||
'E_Procedure directive $1 not allowed in implementation section'#000+
|
||||
'E_Procedure directive $1 not allowed in procvar declaration'#000+
|
||||
'E_Function is already declared Public/Forward $1'#000+
|
||||
'E_Function is already declared Public/Forward $','1'#000+
|
||||
'E_Can'#039't use both EXPORT and EXTERNAL'#000+
|
||||
'E_NAME keyword expected'#000+
|
||||
'W_$1 not yet supported inside inline procedure/function'#000+
|
||||
'W_Inlining disab','led'#000+
|
||||
'W_Inlining disabled'#000+
|
||||
'I_Writing Browser log $1'#000+
|
||||
'H_may be pointer deref ^ is missing'#000+
|
||||
'F_Selected assembler reader not supported'#000+
|
||||
'F_Selected assembler reader not supporte','d'#000+
|
||||
'W_Local variable $1 doesn'#039't seem to be initialized yet !'#000+
|
||||
'E_Identifier not found $1'#000+
|
||||
'F_Internal Error in SymTableStack()'#000+
|
||||
'E_Duplicate identifier $1'#000+
|
||||
'E_U','nknown identifier $1'#000+
|
||||
'E_Unknown identifier $1'#000+
|
||||
'E_Forward declaration not solved: $1'#000+
|
||||
'F_Identifier type already defined as type'#000+
|
||||
'F_Identifier type already define','d as type'#000+
|
||||
'E_Type identifier expected'#000+
|
||||
'E_Type mismatch'#000+
|
||||
'E_Error in type defenition'#000+
|
||||
'E_Type identifier not defined'#000+
|
||||
'E_Only static variables can be used in static methods o','r outside met'+
|
||||
'hods'#000+
|
||||
'E_Only static variables can be used in static methods or outside metho'+
|
||||
'ds'#000+
|
||||
'E_Invalid call to tvarsym.mangledname()'#000+
|
||||
'F_record or class type expected'#000+
|
||||
'F_record or class',' type expected'#000+
|
||||
'E_To generate an instance of a class or an object with an abtract meth'+
|
||||
'od isn'#039't allowed'#000+
|
||||
'E_Label not defined $1'#000+
|
||||
'E_Illegal label declaration'#000+
|
||||
'E_GOTO und LABEL are not su','pported (use command line switch -Sg)'#000+
|
||||
'E_GOTO und LABEL are not supported (use command line switch -Sg)'#000+
|
||||
'E_Label not found'#000+
|
||||
'E_identifier isn'#039't a label'#000+
|
||||
'E_id','entifier isn'#039't a label'#000+
|
||||
'E_label already defined'#000+
|
||||
'E_illegal type declaration of set elements'#000+
|
||||
'E_Forward class definition not resolved $1'#000+
|
||||
'H_Parameter not used $1'#000+
|
||||
'W_Local variable not used $1'#000+
|
||||
'E_Set ele','ments are not compatible'#000+
|
||||
'E_Set type expected'#000+
|
||||
'E_Set elements are not compatible'#000+
|
||||
'E_Set type expected'#000,+
|
||||
'W_Function result does not seem to be set'#000+
|
||||
'E_Unknown field identifier'#000+
|
||||
'W_Local variable $1 does not seem to be initialized'#000+
|
||||
'E_identifier idents no member $1'#000+
|
||||
'E_BREAK not allowed'#000+
|
||||
'E_CONTINUE not allowed'#000+
|
||||
'E_Expression ','too complicated - FPU stack overflow'#000+
|
||||
'E_Expression too complicated - FPU stack ov','erflow'#000+
|
||||
'E_Illegal expression'#000+
|
||||
'E_Invalid integer'#000+
|
||||
'E_Illegal qualifier'#000+
|
||||
@ -216,7 +215,7 @@ const msgtxt : array[0..00058,1..255] of char=(
|
||||
'E_Illegal counter variable'#000+
|
||||
'E_Can'#039't determine which overloaded function to call'#000+
|
||||
'E_Parameter list size exceeds 65535 bytes'#000+
|
||||
'E','_Illegal type conversion'#000+
|
||||
'E_Illegal type c','onversion'#000+
|
||||
'E_File types must be var parameters'#000+
|
||||
'E_The use of a far pointer isn'#039't allowed there'#000+
|
||||
'E_illegal call by reference parameters'#000+
|
||||
@ -229,109 +228,109 @@ const msgtxt : array[0..00058,1..255] of char=(
|
||||
'E_Abstract methods can'#039't be called directly'#000+
|
||||
'F_Internal Error in getfloatreg(), allocation failure'#000+
|
||||
'F_Unknown float type'#000+
|
||||
'F_SecondVecn() base defined twice'#000+
|
||||
'F_E','xtended cg68k not supported'#000+
|
||||
'F_SecondVecn() base de','fined twice'#000+
|
||||
'F_Extended cg68k not supported'#000+
|
||||
'F_32-bit unsigned not supported in MC68000 mode'#000+
|
||||
'F_Internal Error in secondinline()'#000+
|
||||
'D_Register $1 weight $2 $3'#000+
|
||||
'E_Stack limit excedeed in local routine'#000+
|
||||
'D_Stack frame is omited'#000+
|
||||
'E_Unable to inline object methods'#000+
|
||||
'E_Unable to inline ','procvar calls'#000+
|
||||
'E_Unable to inline obje','ct methods'#000+
|
||||
'E_Unable to inline procvar calls'#000+
|
||||
'E_No code for inline procedure stored'#000+
|
||||
'F_Divide by zero in asm evaluator'#000+
|
||||
'F_Evaluator stack overflow'#000+
|
||||
'F_Evaluator stack underflow'#000+
|
||||
'F_Invalid numeric format in asm evaluator'#000+
|
||||
'F_Invalid Operator in asm evaluator'#000+
|
||||
'F_Invalid Operator in asm e','valuator'#000+
|
||||
'F_Unknown error in asm evaluator'#000+
|
||||
'W_I','nvalid numeric value'#000+
|
||||
'W_Invalid numeric value'#000+
|
||||
'E_escape sequence ignored: $1'#000+
|
||||
'E_Asm syntax error - Prefix not found'#000+
|
||||
'E_Asm syntax error - Trying to add more than one prefix'#000+
|
||||
'E_Asm syntax error - Opcode not found'#000+
|
||||
'E_Invalid symbol reference'#000+
|
||||
'E_Invalid sy','mbol reference'#000+
|
||||
'W_Calling an overload function in an asm'#000+
|
||||
'E_Co','nstant value out of bounds'#000+
|
||||
'E_Constant value out of bounds'#000+
|
||||
'E_Non-label pattern contains @'#000+
|
||||
'E_Invalid Operand: $1'#000+
|
||||
'W_Override operator not supported'#000+
|
||||
'E_Error in binary constant: $1'#000+
|
||||
'E_Error in octal constant: $1'#000+
|
||||
'E_Error in hexadecimal constant: $1'#000+
|
||||
'E_Err','or in hexadecimal constant: $1'#000+
|
||||
'E_Error in integer constant: $1'#000+
|
||||
'E_Invalid la','beled opcode'#000+
|
||||
'E_Invalid labeled opcode'#000+
|
||||
'F_Internal error in Findtype()'#000+
|
||||
'E_Invalid size for MOVSX/MOVZX'#000+
|
||||
'E_16-bit base in 32-bit segment'#000+
|
||||
'E_16-bit index in 32-bit segment'#000+
|
||||
'E_Invalid Opcode'#000+
|
||||
'E_Constant reference not allowed'#000+
|
||||
'E_Consta','nt reference not allowed'#000+
|
||||
'W_Fwait can cause emulation problems with emu387'#000+
|
||||
'E_Invalid combin','ation of opcode and operands'#000+
|
||||
'E_Invalid combination of opcode and operands'#000+
|
||||
'W_Opcode $1 not in table, operands not checked'#000+
|
||||
'F_Internal Error in ConcatOpcode()'#000+
|
||||
'E_Invalid size in reference'#000+
|
||||
'E_Invalid middle sized operand'#000+
|
||||
'E_Invalid m','iddle sized operand'#000+
|
||||
'E_Invalid three operand opcode'#000+
|
||||
'E_Assembler syntax error'#000+
|
||||
'E_Invalid operand type'#000+
|
||||
'E_Segm','ent overrides not supported'#000+
|
||||
'E_Segment overrides not supported'#000+
|
||||
'E_Invalid constant symbol $1'#000+
|
||||
'F_Internal Errror converting binary'#000+
|
||||
'F_Internal Errror converting hexadecimal'#000+
|
||||
'F_Internal Errror converting octal'#000+
|
||||
'F','_Internal Errror converting octal'#000+
|
||||
'E_Invalid constant expression'#000+
|
||||
'E_Unknown identifier: $1'#000+
|
||||
'E_Trying to define an index reg','ister more than once'#000+
|
||||
'E_Trying to define an index register more than once'#000+
|
||||
'E_Invalid field specifier'#000+
|
||||
'F_Internal Error in BuildScaling()'#000+
|
||||
'E_Invalid scaling factor'#000+
|
||||
'E_Invalid scaling value'#000+
|
||||
'E_Invalid sca','ling value'#000+
|
||||
'E_Scaling value only allowed with index'#000+
|
||||
'E_Invalid assembler syntax. No ref with brackets)'#000+
|
||||
'E_Expressions of the form [sreg:re','g...] are currently not supported'#000+
|
||||
'E_Expressions of the form [sreg:reg...] are currently not supported'#000+
|
||||
'E_Trying to define a segment register twice'#000+
|
||||
'E_Trying to define a base register twice'#000+
|
||||
'E_Trying to define a base r','egister twice'#000+
|
||||
'E_Trying to use a negative index register'#000+
|
||||
'E_Asm syntax error - error in reference'#000+
|
||||
'E_Local symbols not allowed as references'#000+
|
||||
'E_Invalid op','erand in bracket expression'#000+
|
||||
'E_Invalid operand in bracket expression'#000+
|
||||
'E_Invalid symbol name: $1'#000+
|
||||
'E_Invalid Reference syntax'#000+
|
||||
'E_Invalid string as opcode operand: $1'#000+
|
||||
'E_Invalid',' string as opcode operand: $1'#000+
|
||||
'W_@CODE and @DATA not supported'#000+
|
||||
'E_Null label references are not allowed'#000+
|
||||
'E_Cannot use SELF outside a method'#000+
|
||||
'E_Asm syntax error - Should ','start with bracket'#000+
|
||||
'E_Asm syntax error - Should start with bracket'#000+
|
||||
'E_Asm syntax error - register: $1'#000+
|
||||
'E_SEG and OFFSET not supported'#000+
|
||||
'E_SEG and OFFSET not s','upported'#000+
|
||||
'E_Asm syntax error - in opcode operand'#000+
|
||||
'E_Invalid String expression'#000+
|
||||
'E_Constant expression out of bounds'#000+
|
||||
'F_Internal Error in BuildConstant()'#000+
|
||||
'W_A repeat prefix and a segment ','override on <= i386 may result in er'+
|
||||
'rors if an interrupt occurs'#000+
|
||||
'W_A repeat prefix and a segment override on <= i386 may result in erro'+
|
||||
'rs if an interrupt occ','urs'#000+
|
||||
'E_Invalid or missing opcode'#000+
|
||||
'E_Invalid combination of prefix and opcode: $1'#000+
|
||||
'E_Invalid combination of override and opcode: $1'#000+
|
||||
'E_Too many operands on line'#000+
|
||||
'E_Duplicate local symbol: $1'#000+
|
||||
'E_Unknown ','label identifer: $1'#000+
|
||||
'E_Assemble node syntax error'#000+
|
||||
'E_Unknown label identifer: $1'#000+
|
||||
'E_Assemble node syntax er','ror'#000+
|
||||
'E_Undefined local symbol: $1'#000+
|
||||
'D_Starting intel styled assembler parsing...'#000+
|
||||
'D_Finished intel styled assembler parsing...'#000+
|
||||
'E_Not a directive or local symbol: $1'#000+
|
||||
'E_/ at beginning of line not allowed'#000+
|
||||
'E_NOR not su','pported'#000+
|
||||
'E_Invalid floating point register name'#000+
|
||||
'E_NOR not supported'#000+
|
||||
'E_Invalid floating poi','nt register name'#000+
|
||||
'W_Modulo not supported'#000+
|
||||
'E_Invalid floating point constant: $1'#000+
|
||||
'E_Size suffix and destination register do not match'#000+
|
||||
'E_Internal error in ConcatLabeledInstr()'#000+
|
||||
'W_Floating point binary representation ignored'#000+
|
||||
'W_Float','ing point hexadecimal representation ignored'#000+
|
||||
'W_Floating point hexad','ecimal representation ignored'#000+
|
||||
'W_Floating point octal representation ignored'#000+
|
||||
'E_Invalid real constant expression'#000+
|
||||
'E_Parenthesis are not allowed'#000+
|
||||
@ -343,7 +342,7 @@ const msgtxt : array[0..00058,1..255] of char=(
|
||||
'E_Strings not allowed as constants'#000+
|
||||
'D_Starting AT&T styled assembler parsing...'#000+
|
||||
'D_Finished AT&T styled assembler parsing...'#000+
|
||||
'E_Switching sections is not allowed in an assembler b','lock'#000+
|
||||
'E_Switching sections is not allowed in',' an assembler block'#000+
|
||||
'E_Invalid global definition'#000+
|
||||
'E_Line separator expected'#000+
|
||||
'W_globl not supported'#000+
|
||||
@ -352,72 +351,222 @@ const msgtxt : array[0..00058,1..255] of char=(
|
||||
'W_comm not supported'#000+
|
||||
'E_Invalid local common definition'#000+
|
||||
'E_Invalid global common definition'#000+
|
||||
'E_local symbol: $1 not found inside asm ','statement'#000+
|
||||
'E_local sy','mbol: $1 not found inside asm statement'#000+
|
||||
'E_assembler code not returned to text'#000+
|
||||
'F_internal error in BuildReference()'#000+
|
||||
'E_invalid opcode size'#000+
|
||||
'W_NEAR ignored'#000+
|
||||
'W_FAR ignored'#000+
|
||||
'D_Creating inline asm lookup tables'#000+
|
||||
'W_Using a defined name as a local label'#000+
|
||||
'W_Using a defined name as a local labe','l'#000+
|
||||
'F_internal error in HandleExtend()'#000+
|
||||
'E_Invali','d character: <'#000+
|
||||
'E_Invalid character: <'#000+
|
||||
'E_Invalid character: >'#000+
|
||||
'E_Unsupported opcode'#000+
|
||||
'E_Increment and Decrement mode not allowed together'#000+
|
||||
'E_Invalid Register list in movem/fmovem'#000+
|
||||
'E_Invalid Register list for opcode'#000+
|
||||
'E_68020+ mode required to assemble'#000+
|
||||
'D_Starting Motorola styled assembl','er parsing...'#000+
|
||||
'E_68020+ ','mode required to assemble'#000+
|
||||
'D_Starting Motorola styled assembler parsing...'#000+
|
||||
'D_Finished Motorola styled assembler parsing...'#000+
|
||||
'W_XDEF not supported'#000+
|
||||
'W_Functions with void return value can'#039't return any value in asm c'+
|
||||
'ode'#000+
|
||||
'E_Invalid suffix for intel assembler'#000+
|
||||
'E_Invalid suffix for intel ','assembler'#000+
|
||||
'E_Extended not supported in this mode'#000+
|
||||
'E_Comp not supported in thi','s mode'#000+
|
||||
'E_Comp not supported in this mode'#000+
|
||||
'W_You need GNU as version >= 2.81 to compile this MMX code'#000+
|
||||
'F_Too many assembler files'#000+
|
||||
'F_Selected assembler output not supported'#000+
|
||||
'E_Unsupported symbol type for operand'#000+
|
||||
'E_Unsupported symbol type for ','operand'#000+
|
||||
'I_Assembling (pipe) $1'#000+
|
||||
'E_Can'#039't create assember file $1'#000+
|
||||
'W_Assembler $1 not found, s','witching to external assembling'#000+
|
||||
'W_Assembler $1 not found, switching to external assembling'#000+
|
||||
'U_Using assembler: $1'#000+
|
||||
'W_Error while assembling'#000+
|
||||
'W_Can'#039't call the assembler, switching to external assembling'#000+
|
||||
'I_Assembling $1'#000+
|
||||
'I_Assembli','ng $1'#000+
|
||||
'W_Linker $1 not found, switching to external linking'#000+
|
||||
'U_Using linker: $1'#000+
|
||||
'W_Object $1 not found, Link','ing may fail !'#000+
|
||||
'W_Object $1 not found, Linking may fail !'#000+
|
||||
'W_Library $1 not found, Linking may fail !'#000+
|
||||
'W_Error while linking'#000+
|
||||
'W_Can'#039't call the linker, switching to external linking'#000+
|
||||
'W_Can'#039't call the linker, switching to external linking'#000,+
|
||||
'I_Linking $1'#000+
|
||||
'W_binder not found, switching to external binding'#000+
|
||||
'W_ar not found, switching to external ar'#000+
|
||||
'E_Dynamic Librar','ies not supported'#000+
|
||||
'E_Dynamic Libraries not supported'#000+
|
||||
'I_Closing script $1'#000+
|
||||
'U_PPU Loading $1'#000+
|
||||
'D_PPU Time: $1'#000+
|
||||
'D_PPU File too short'#000+
|
||||
'D_PPU Invalid Header (no PPU at the begin)'#000+
|
||||
'D_PPU Invalid Header (no PPU ','at the begin)'#000+
|
||||
'D_PPU Invalid Version $1'#000+
|
||||
'D_PPU Flags: $1'#000+
|
||||
'D_PPU Crc: $1'#000+
|
||||
'T_PPU Source: $1'#000+
|
||||
'D_objectfile and assemblerfile are older than ppu','file'#000+
|
||||
'D_objectfile and assemblerfile are older than ppufile'#000+
|
||||
'D_objectfile is older than assemblerfile'#000+
|
||||
'T_Unitsearch: $1'#000+
|
||||
'U_Writing $1'#000+
|
||||
'F_Can'#039't Write PPU-File'#000+
|
||||
'F_reading PPU-File'#000+
|
||||
'F_read','ing PPU-File'#000+
|
||||
'F_Invalid PPU-File entry: $1'#000+
|
||||
'F_PPU Dbx count problem'#000+
|
||||
'E_Illegal unit name: $1'#000+
|
||||
'F_Too much units'#000+
|
||||
'F_Circular unit reference'#000+
|
||||
'F_Can'#039't compile u','nit $1, no sources available'#000+
|
||||
'F_Can'#039't compile unit $1, no sources available'#000+
|
||||
'W_Compiling the system unit requires the -Us switch'#000+
|
||||
'F_There were $1 errors compiling module, stopping'#000
|
||||
'F_There w','ere $1 errors compiling module, stopping'#000+
|
||||
'$1 [options] <inputfile> [options]'#000+
|
||||
'W_Only one source file supported'#000+
|
||||
'W_DEF file can be created only for OS/2'#000+
|
||||
'E_nested response files are not supported'#000+
|
||||
'F_No source file name in command line'#000+
|
||||
'E_Illegal p','arameter: $1'#000+
|
||||
'H_-? writes help pages'#000+
|
||||
'F_Too many config files nested'#000+
|
||||
'F_Unable to open file $1'#000+
|
||||
'N_Reading further options from $1'#000+
|
||||
'W_Target is already set to: $1'#000+
|
||||
'W_Shared libs not supported on DOS platform, reverting to static'#000+
|
||||
'F_too many IF(N)DE','Fs'#000+
|
||||
'F_too many ENDIFs'#000+
|
||||
'F_open conditional at the end of the file'#000+
|
||||
'W_Debug information generation is not supported by this executable'#000+
|
||||
'H_Try recompiling with -dGDB'#000+
|
||||
'Free Pascal Compiler version $FPCVER [$FPCDATE] for $FPCTARGET'#000+
|
||||
'Copyright (c) 1993','-98 by Florian Klaempfl'#000+
|
||||
'Free Pascal Compiler version $FPCVER'#000+
|
||||
'<lf>'#000+
|
||||
'Compiler Date : $FPCDATE'#000+
|
||||
'Compiler Target: $FPCTARGET'#000+
|
||||
'<lf>'#000+
|
||||
'This program comes under the GNU General Public Licence'#000+
|
||||
'For more information read COPYING.FPC'#000+
|
||||
'<lf>'#000+
|
||||
'Report bugs,sugg','estions etc to:'#000+
|
||||
' fpc-devel@mail.tolna.hungary.net'#000+
|
||||
'**0*_+ switch option on, - off'#000+
|
||||
'**1a_the compiler doesn'#039't delete the generated assembler file'#000+
|
||||
'*t1b_use EMS'#000+
|
||||
'**1B_build all modules'#000+
|
||||
'**1C_code generation options'#000+
|
||||
'3*2CD_create dyna','mic library'#000+
|
||||
'**2Ch<n>_<n> bytes heap (between 1023 and 67107840)'#000+
|
||||
'**2Ci_IO-checking'#000+
|
||||
'**2Cn_omit linking stage'#000+
|
||||
'**2Co_check overflow of integer operations'#000+
|
||||
'**2Cr_range checking'#000+
|
||||
'**2Cs<n>_set stack size to <n>'#000+
|
||||
'**2Ct_stack checking'#000+
|
||||
'3*2CS_create stat','ic library'#000+
|
||||
'3*2Cx_use smartlinking'#000+
|
||||
'**1d<x>_defines the symbol <x>'#000+
|
||||
'*O1D_generate a DEF file'#000+
|
||||
'*O2Dd<x>_set description to <x>'#000+
|
||||
'*O2Dw_PM application'#000+
|
||||
'**1e<x>_set path to executable'#000+
|
||||
'**1E_same as -Cn'#000+
|
||||
'**1F_set file names and paths'#000+
|
||||
'**2Fe<x>_redirect e','rror output to <x>'#000+
|
||||
'*L2Fg<x>_same as -Fl'#000+
|
||||
'**2Fi<x>_adds <x> to include path'#000+
|
||||
'**2Fl<x>_adds <x> to library path'#000+
|
||||
'*L2FL<x>_uses <x> as dynamic linker'#000+
|
||||
'**2Fo<x>_adds <x> to object path'#000+
|
||||
'**2Fr<x>_load error message file <x>'#000+
|
||||
'**2Fu<x>_adds <x> to unit ','path'#000+
|
||||
'*g1g_generate debugger information'#000+
|
||||
'*g2gg_use gsym'#000+
|
||||
'*g2gd_use dbx'#000+
|
||||
'**1i_information'#000+
|
||||
'**1I<x>_adds <x> to include path'#000+
|
||||
'**1k<x>_Pass <x> to the linker'#000+
|
||||
'**1l_write logo'#000+
|
||||
'**1n_don'#039't read the default config file'#000+
|
||||
'**1o<x>_change the name of the exe','cutable produced to <x>'#000+
|
||||
'**1pg_generate profile code for gprof'#000+
|
||||
'*L1P_use pipes instead of creating temporary assembler files'#000+
|
||||
'**1S_syntax options'#000+
|
||||
'**2S2_switch some Delphi 2 extensions on'#000+
|
||||
'**2Sc_supports operators like C (*=,+=,/= and -=)'#000+
|
||||
'**2Sd_','compiler disposes asm lists (uses less memory but slower)'#000+
|
||||
'**2Se_compiler stops after the first error'#000+
|
||||
'**2Sg_allow LABEL and GOTO'#000+
|
||||
'**2Si_support C++ stlyed INLINE'#000+
|
||||
'**2Sm_support macros like C (global)'#000+
|
||||
'**2So_tries to be TP/BP 7.0 compatible'#000+
|
||||
'**2S','p_tries to be gpc compatible'#000+
|
||||
'**2Ss_constructor name must be init (destructor must be done)'#000+
|
||||
'**2St_allow static keyword in objects'#000+
|
||||
'**2Sv_allow variable directives (cvar,external,public,export)'#000+
|
||||
'**1s_don'#039't call assembler and linker (only with -','a)'#000+
|
||||
'**1T<x>_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+
|
||||
'6*2TAMIGA_Commodore Amiga'#000+
|
||||
'6*2TATARI_Atari ST/STe/TT',#000+
|
||||
'6*2TMACOS_Macintosh m68k'#000+
|
||||
'6*2TLINUX_Linux-68k'#000+
|
||||
'**1u<x>_undefines the symbol <x>'#000+
|
||||
'**1U_unit options'#000+
|
||||
'**2Un_don'#039't check the unit name'#000+
|
||||
'**2Up<x>_same as -Fu<x>'#000+
|
||||
'**2Us_compile a system unit'#000+
|
||||
'**1v<x>_Be verbose. <x> is a combination of the following l','etters :'#000+
|
||||
'**2*_e : Show errors (default) d : Show debug info'#000+
|
||||
'**2*_w : Show warnings u : Show used files'#000+
|
||||
'**2*_n : Show notes t : Show tried files'#000+
|
||||
'**2*_h : Show hints m : Show defined macro','s'#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+
|
||||
'**1X_executable options'#000+
|
||||
'*L2Xc_link with the',' c library'#000+
|
||||
'**2XD_link with dynamic libraries (defines FPC_LINK_DYNAMIC)'#000+
|
||||
'**2Xs_strip all symbols from executable'#000+
|
||||
'**2XS_link with static libraries (defines FPC_LINK_STATIC)'#000+
|
||||
'**0*_Processor specific options:'#000+
|
||||
'3*1A_output format'#000+
|
||||
'3*2Ao_coff file u','sing GNU AS'#000+
|
||||
'3*2Anasmcoff_coff file using Nasm'#000+
|
||||
'3*2Anasmelf_elf32 (linux) file using Nasm'#000+
|
||||
'3*2Anasmobj_obj file using Nasm'#000+
|
||||
'3*2Amasm_obj using Masm (Mircosoft)'#000+
|
||||
'3*2Atasm_obj using Tasm (Borland)'#000+
|
||||
'3*1R_assembler reading style'#000+
|
||||
'3*2Ratt_read AT&T sty','le assembler'#000+
|
||||
'3*2Rintel_read Intel style assembler'#000+
|
||||
'3*2Rdirect_copy assembler text directly to assembler file'#000+
|
||||
'3*1O<x>_optimizations'#000+
|
||||
'3*2Og_generate smaller code'#000+
|
||||
'3*2OG_generate faster code (default)'#000+
|
||||
'3*2Or_keep certain variables in registers (st','ill BUGGY!!!)'#000+
|
||||
'3*2Ou_enable uncertain optimizations (see docs)'#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*2Op_target processor'#000+
|
||||
'3*3Op','1_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+
|
||||
'6*1A_output format'#000+
|
||||
'6*2Ao_Unix o-file using GNU AS'#000+
|
||||
'6*2Agas_GNU Motorola assembler'#000+
|
||||
'6*2Amit_MIT Synt','ax (old GAS)'#000+
|
||||
'6*2Amot_Standard Motorola assembler'#000+
|
||||
'6*1O_optimizations'#000+
|
||||
'6*2Oa_turn on the optimizer'#000+
|
||||
'6*2Og_generate smaller code'#000+
|
||||
'6*2OG_generate faster code (default)'#000+
|
||||
'6*2Ox_optimize maximum (still BUGGY!!!)'#000+
|
||||
'6*2O2_set target processor to a MC68020','+'#000+
|
||||
'**1*_'#000+
|
||||
'**1?_shows this help'#000+
|
||||
'**1h_shows this help without waiting'#000
|
||||
);
|
||||
|
@ -1,58 +0,0 @@
|
||||
{
|
||||
$Id$
|
||||
Copyright (c) 1998 by the FPC development team
|
||||
|
||||
This file includes the message index types which can be used to display
|
||||
a message from the message file
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
****************************************************************************}
|
||||
|
||||
const
|
||||
optionhelplines=117; {amount of lines for the -?}
|
||||
type
|
||||
toptionconst=(
|
||||
usage,
|
||||
only_one_source_support,
|
||||
def_only_for_os2,
|
||||
no_nested_response_file,
|
||||
no_source_found,
|
||||
illegal_para,
|
||||
help_pages_para,
|
||||
too_many_cfg_files,
|
||||
unable_open_file,
|
||||
reading_further_from,
|
||||
target_is_already_set,
|
||||
no_shared_lib_under_dos,
|
||||
too_many_ifdef,
|
||||
too_many_endif,
|
||||
too_less_endif,
|
||||
no_debug_support,
|
||||
no_debug_support_recompile_fpc,
|
||||
{logo}
|
||||
logo_start,
|
||||
logo_end,
|
||||
{info}
|
||||
info_start,
|
||||
info1,
|
||||
info2,
|
||||
info3,
|
||||
info4,
|
||||
info5,
|
||||
info_end,
|
||||
{This should be the last}
|
||||
endoptionconst
|
||||
);
|
@ -1,162 +0,0 @@
|
||||
[options] <inputfile> [options]
|
||||
Only one source file supported
|
||||
DEF file can be created only for OS/2
|
||||
nested response files are not supported
|
||||
No source file name in command line
|
||||
Illegal parameter: $1
|
||||
-? writes help pages
|
||||
Too many config files nested
|
||||
Unable to open file $1
|
||||
Reading further options from $1
|
||||
Target is already set to: $1
|
||||
Shared libs not supported on DOS platform, reverting to static
|
||||
too many IF(N)DEFs
|
||||
too many ENDIFs
|
||||
open conditional at the end of the file
|
||||
Debug information generation is not supported by this executable
|
||||
Try recompiling with -dGDB
|
||||
;
|
||||
; Logo
|
||||
;
|
||||
Free Pascal Compiler version $VER for $TARGET
|
||||
Copyright (c) 1993-98 by Florian Klaempfl
|
||||
;
|
||||
; Info
|
||||
;
|
||||
Free Pascal Compiler version $VER
|
||||
<lf>
|
||||
This program comes under the GNU General Public Licence
|
||||
For more information read COPYING
|
||||
<lf>
|
||||
Report bugs,suggestions etc to:
|
||||
ba2395@fen.baynet.de
|
||||
;
|
||||
; The -? help pages
|
||||
;
|
||||
; XXX<X>_<Text>
|
||||
; ||| +- letter(s) [ the option letter(s) ]
|
||||
; ||+-- ident [ 0123 level 0,1,2,3 ]
|
||||
; |+--- OS [ L,D,W,O,t(TP),*(all) ]
|
||||
; +---- Processor [ 3,6,*(all) ]
|
||||
;
|
||||
**0*_+ switch option on, - off
|
||||
**1a_the compiler doesn't delete the generated assembler file
|
||||
*t1b_use EMS
|
||||
**1B+_build
|
||||
**1C_code generation options
|
||||
**2Ca_not implemented
|
||||
**2Ce_not implemented
|
||||
3*2CD_Dynamic linking
|
||||
**2Ch<n>_<n> bytes heap (between 1023 and 67107840)
|
||||
**2Ci_IO-checking
|
||||
**2Cn_omit linking stage
|
||||
**2Co_check overflow of integer operations
|
||||
**2Cr_range checking
|
||||
*O2Cs<n>_set stack size to <n>
|
||||
**2Ct_stack checking
|
||||
3*2CS_static linking
|
||||
**1d<x>_defines the symbol <x>
|
||||
*O1D_controls the generation of DEF file (only OS/2)
|
||||
*O2Dd<x>_set description to <x>
|
||||
*O2Do_generate DEF file
|
||||
*O2Dw_PM application
|
||||
*L1e<x>_set path to executables
|
||||
**1E_same as -Cn
|
||||
**1g_generate debugger information
|
||||
**1F_set file names and paths
|
||||
**2Fe<x>_redirect error output to <x>
|
||||
*L2Fg<x>_<x> search path for the GNU C lib
|
||||
*L2Fr<x>_<x> search path for the error message file
|
||||
**2Fi<x>_adds <x> to include path
|
||||
**2Fl<x>_adds <x> to library path
|
||||
*L2FL<x>_uses <x> as dynamic linker
|
||||
**2Fu<x>_adds <x> to unit path
|
||||
**1k<x>_Pass <x> to the linker
|
||||
**1L_set language
|
||||
**2LD_German
|
||||
**2LE_English
|
||||
**2LN_Dutch
|
||||
**1l_write logo
|
||||
**1i_information
|
||||
**1n_don't read the default config file
|
||||
**1o<x>_change the name of the executable produced to <x>
|
||||
**1pg_generate profile code for gprof
|
||||
*L1P_use pipes instead of creating temporary assembler files
|
||||
**1S_syntax options
|
||||
**2S2_switch some Delphi 2 extension on
|
||||
**2Sc_supports operators like C (*=,+=,/= and -=)
|
||||
**2Sd_compiler disposes asm lists (uses less memory but slower)
|
||||
**2Se_compiler stops after the first error
|
||||
**2Sg_allows LABEL and GOTO
|
||||
**2Si_support C++ stlyed INLINE
|
||||
**2Sm_support macros like C (global)
|
||||
**2So_tries to be TP/BP 7.0 compatible
|
||||
**2Ss_constructor name must be init (destructor must be done)
|
||||
**2St_allows static keyword in objects
|
||||
**1s_don't call assembler and linker (only with -a)
|
||||
**1T<x>_Target operating system
|
||||
3*2TGO32V1_version 1 of DJ Delorie DOS extender
|
||||
3*2TGO32V2_version 2 of DJ Delorie DOS extender
|
||||
3*2TLINUX_Linux
|
||||
3*2TOS2_OS/2 2.x
|
||||
3*2TWin32_Windows 32 Bit
|
||||
6*2TAMIGA_Commodore Amiga
|
||||
6*2TATARI_Atari ST/STe/TT
|
||||
6*2TMACOS_Macintosh m68k
|
||||
6*2TLINUX_Linux-68k
|
||||
**1u<x>_undefines the symbol <x>
|
||||
**1U_unit options
|
||||
**2Uls_make static library from unit
|
||||
**2Uld_make dynamic library from unit
|
||||
**2Un_don't check the unit name
|
||||
**2Up<x>_same as -Fu<x>
|
||||
**2Us_compile a system unit
|
||||
**1v<x>_Be verbose. <x> is a combination of the following letters :
|
||||
**2*_e : Show errors (default) d : Show debug info
|
||||
**2*_w : Show warnings u : Show used files
|
||||
**2*_n : Show notes t : Show tried files
|
||||
**2*_h : Show hints m : Show defined macros
|
||||
**2*_i : Show general info p : Show compiled procedures
|
||||
**2*_l : Show linenumbers c : Show conditionals
|
||||
**2*_a : Show everything 0 : Show nothing (except errors)
|
||||
**1X_executable options
|
||||
*L2Xc_link with the c library
|
||||
**2Xs_strip all symbols from executable
|
||||
**0*_Processor specific options:
|
||||
3*1A_output format
|
||||
3*2Ao_coff file using GNU AS
|
||||
3*2Anasmcoff_coff file using Nasm
|
||||
3*2Anasmelf_elf32 (linux) file using Nasm
|
||||
3*2Anasmobj_obj file using Nasm
|
||||
3*2Amasm_obj using Masm (Mircosoft)
|
||||
3*2Atasm_obj using Tasm (Borland)
|
||||
3*1R_assembler reading style
|
||||
3*2Ratt_read AT&T style assembler
|
||||
3*2Rintel_read Intel style assembler
|
||||
3*2Rdirect_copy assembler text directly to assembler file
|
||||
3*1O<x>_optimizations
|
||||
3*2Og_generate smaller code
|
||||
3*2OG_generate faster code (default)
|
||||
3*2Or_keep certain variables in registers (still BUGGY!!!)
|
||||
3*2Ou_enable uncertain optimizations (see docs)
|
||||
3*2O1_level 1 optimizations (quick optimizations)
|
||||
3*2O2_level 2 optimizations (-O1 + slower optimizations)
|
||||
3*2O3_level 3 optimizations (same as -O2u)
|
||||
3*2Op_target processor
|
||||
3*3Op1_set target processor to 386/486
|
||||
3*3Op2_set target processor to Pentium/PentiumMMX (tm)
|
||||
3*3Op3_set target processor to PPro/PII/c6x86/K6 (tm)
|
||||
6*1A_output format
|
||||
6*2Ao_Unix o-file using GNU AS
|
||||
6*2Agas_GNU Motorola assembler
|
||||
6*2Amit_MIT Syntax (old GAS)
|
||||
6*2Amot_Standard Motorola assembler
|
||||
6*1O_optimizations
|
||||
6*2Oa_turn on the optimizer
|
||||
6*2Og_generate smaller code
|
||||
6*2OG_generate faster code (default)
|
||||
6*2Ox_optimize maximum (still BUGGY!!!)
|
||||
6*2O2_set target processor to a MC68020+
|
||||
**1*_
|
||||
**1?_shows this help
|
||||
**1h_shows this help without waiting
|
@ -1,340 +0,0 @@
|
||||
const optiontxt : array[1..05077] of char=(
|
||||
' ','[','o','p','t','i','o','n','s',']',' ','<','i','n','p',
|
||||
'u','t','f','i','l','e','>',' ','[','o','p','t','i','o','n',
|
||||
's',']',#000,'O','n','l','y',' ','o','n','e',' ','s','o','u',
|
||||
'r','c','e',' ','f','i','l','e',' ','s','u','p','p','o','r',
|
||||
't','e','d',#000,'D','E','F',' ','f','i','l','e',' ','c','a',
|
||||
'n',' ','b','e',' ','c','r','e','a','t','e','d',' ','o','n',
|
||||
'l','y',' ','f','o','r',' ','O','S','/','2',#000,'n','e','s',
|
||||
't','e','d',' ','r','e','s','p','o','n','s','e',' ','f','i',
|
||||
'l','e','s',' ','a','r','e',' ','n','o','t',' ','s','u','p',
|
||||
'p','o','r','t','e','d',#000,'N','o',' ','s','o','u','r','c',
|
||||
'e',' ','f','i','l','e',' ','n','a','m','e',' ','i','n',' ',
|
||||
'c','o','m','m','a','n','d',' ','l','i','n','e',#000,'I','l',
|
||||
'l','e','g','a','l',' ','p','a','r','a','m','e','t','e','r',
|
||||
':',' ','$','1',#000,'-','?',' ','w','r','i','t','e','s',' ',
|
||||
'h','e','l','p',' ','p','a','g','e','s',#000,'T','o','o',' ',
|
||||
'm','a','n','y',' ','c','o','n','f','i','g',' ','f','i','l',
|
||||
'e','s',' ','n','e','s','t','e','d',#000,'U','n','a','b','l',
|
||||
'e',' ','t','o',' ','o','p','e','n',' ','f','i','l','e',' ',
|
||||
'$','1',#000,'R','e','a','d','i','n','g',' ','f','u','r','t',
|
||||
'h','e','r',' ','o','p','t','i','o','n','s',' ','f','r','o',
|
||||
'm',' ','$','1',#000,'T','a','r','g','e','t',' ','i','s',' ',
|
||||
'a','l','r','e','a','d','y',' ','s','e','t',' ','t','o',':',
|
||||
' ','$','1',#000,'S','h','a','r','e','d',' ','l','i','b','s',
|
||||
' ','n','o','t',' ','s','u','p','p','o','r','t','e','d',' ',
|
||||
'o','n',' ','D','O','S',' ','p','l','a','t','f','o','r','m',
|
||||
',',' ','r','e','v','e','r','t','i','n','g',' ','t','o',' ',
|
||||
's','t','a','t','i','c',#000,'t','o','o',' ','m','a','n','y',
|
||||
' ','I','F','(','N',')','D','E','F','s',#000,'t','o','o',' ',
|
||||
'm','a','n','y',' ','E','N','D','I','F','s',#000,'o','p','e',
|
||||
'n',' ','c','o','n','d','i','t','i','o','n','a','l',' ','a',
|
||||
't',' ','t','h','e',' ','e','n','d',' ','o','f',' ','t','h',
|
||||
'e',' ','f','i','l','e',#000,'D','e','b','u','g',' ','i','n',
|
||||
'f','o','r','m','a','t','i','o','n',' ','g','e','n','e','r',
|
||||
'a','t','i','o','n',' ','i','s',' ','n','o','t',' ','s','u',
|
||||
'p','p','o','r','t','e','d',' ','b','y',' ','t','h','i','s',
|
||||
' ','e','x','e','c','u','t','a','b','l','e',#000,'T','r','y',
|
||||
' ','r','e','c','o','m','p','i','l','i','n','g',' ','w','i',
|
||||
't','h',' ','-','d','G','D','B',#000,'F','r','e','e',' ','P',
|
||||
'a','s','c','a','l',' ','C','o','m','p','i','l','e','r',' ',
|
||||
'v','e','r','s','i','o','n',' ','$','V','E','R',' ','f','o',
|
||||
'r',' ','$','T','A','R','G','E','T',#000,'C','o','p','y','r',
|
||||
'i','g','h','t',' ','(','c',')',' ','1','9','9','3','-','9',
|
||||
'8',' ','b','y',' ','F','l','o','r','i','a','n',' ','K','l',
|
||||
'a','e','m','p','f','l',#000,'F','r','e','e',' ','P','a','s',
|
||||
'c','a','l',' ','C','o','m','p','i','l','e','r',' ','v','e',
|
||||
'r','s','i','o','n',' ','$','V','E','R',#000,#000,'T','h','i',
|
||||
's',' ','p','r','o','g','r','a','m',' ','c','o','m','e','s',
|
||||
' ','u','n','d','e','r',' ','t','h','e',' ','G','N','U',' ',
|
||||
'G','e','n','e','r','a','l',' ','P','u','b','l','i','c',' ',
|
||||
'L','i','c','e','n','c','e',#000,'F','o','r',' ','m','o','r',
|
||||
'e',' ','i','n','f','o','r','m','a','t','i','o','n',' ','r',
|
||||
'e','a','d',' ','C','O','P','Y','I','N','G',#000,#000,'R','e',
|
||||
'p','o','r','t',' ','b','u','g','s',',','s','u','g','g','e',
|
||||
's','t','i','o','n','s',' ','e','t','c',' ','t','o',':',#000,
|
||||
' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',
|
||||
' ','b','a','2','3','9','5','@','f','e','n','.','b','a','y',
|
||||
'n','e','t','.','d','e',#000,'*','*','0','*','_','+',' ','s',
|
||||
'w','i','t','c','h',' ','o','p','t','i','o','n',' ','o','n',
|
||||
',',' ','-',' ','o','f','f',#000,'*','*','1','a','_','t','h',
|
||||
'e',' ','c','o','m','p','i','l','e','r',' ','d','o','e','s',
|
||||
'n',#039,'t',' ','d','e','l','e','t','e',' ','t','h','e',' ',
|
||||
'g','e','n','e','r','a','t','e','d',' ','a','s','s','e','m',
|
||||
'b','l','e','r',' ','f','i','l','e',#000,'*','t','1','b','_',
|
||||
'u','s','e',' ','E','M','S',#000,'*','*','1','B','+','_','b',
|
||||
'u','i','l','d',#000,'*','*','1','C','_','c','o','d','e',' ',
|
||||
'g','e','n','e','r','a','t','i','o','n',' ','o','p','t','i',
|
||||
'o','n','s',#000,'*','*','2','C','a','_','n','o','t',' ','i',
|
||||
'm','p','l','e','m','e','n','t','e','d',#000,'*','*','2','C',
|
||||
'e','_','n','o','t',' ','i','m','p','l','e','m','e','n','t',
|
||||
'e','d',#000,'3','*','2','C','D','_','D','y','n','a','m','i',
|
||||
'c',' ','l','i','n','k','i','n','g',#000,'*','*','2','C','h',
|
||||
'<','n','>','_','<','n','>',' ','b','y','t','e','s',' ','h',
|
||||
'e','a','p',' ','(','b','e','t','w','e','e','n',' ','1','0',
|
||||
'2','3',' ','a','n','d',' ','6','7','1','0','7','8','4','0',
|
||||
')',#000,'*','*','2','C','i','_','I','O','-','c','h','e','c',
|
||||
'k','i','n','g',#000,'*','*','2','C','n','_','o','m','i','t',
|
||||
' ','l','i','n','k','i','n','g',' ','s','t','a','g','e',#000,
|
||||
'*','*','2','C','o','_','c','h','e','c','k',' ','o','v','e',
|
||||
'r','f','l','o','w',' ','o','f',' ','i','n','t','e','g','e',
|
||||
'r',' ','o','p','e','r','a','t','i','o','n','s',#000,'*','*',
|
||||
'2','C','r','_','r','a','n','g','e',' ','c','h','e','c','k',
|
||||
'i','n','g',#000,'*','O','2','C','s','<','n','>','_','s','e',
|
||||
't',' ','s','t','a','c','k',' ','s','i','z','e',' ','t','o',
|
||||
' ','<','n','>',#000,'*','*','2','C','t','_','s','t','a','c',
|
||||
'k',' ','c','h','e','c','k','i','n','g',#000,'3','*','2','C',
|
||||
'S','_','s','t','a','t','i','c',' ','l','i','n','k','i','n',
|
||||
'g',#000,'*','*','1','d','<','x','>','_','d','e','f','i','n',
|
||||
'e','s',' ','t','h','e',' ','s','y','m','b','o','l',' ','<',
|
||||
'x','>',#000,'*','O','1','D','_','c','o','n','t','r','o','l',
|
||||
's',' ','t','h','e',' ','g','e','n','e','r','a','t','i','o',
|
||||
'n',' ','o','f',' ','D','E','F',' ','f','i','l','e',' ','(',
|
||||
'o','n','l','y',' ','O','S','/','2',')',#000,'*','O','2','D',
|
||||
'd','<','x','>','_','s','e','t',' ','d','e','s','c','r','i',
|
||||
'p','t','i','o','n',' ','t','o',' ','<','x','>',#000,'*','O',
|
||||
'2','D','o','_','g','e','n','e','r','a','t','e',' ','D','E',
|
||||
'F',' ','f','i','l','e',#000,'*','O','2','D','w','_','P','M',
|
||||
' ','a','p','p','l','i','c','a','t','i','o','n',#000,'*','L',
|
||||
'1','e','<','x','>','_','s','e','t',' ','p','a','t','h',' ',
|
||||
't','o',' ','e','x','e','c','u','t','a','b','l','e','s',#000,
|
||||
'*','*','1','E','_','s','a','m','e',' ','a','s',' ','-','C',
|
||||
'n',#000,'*','*','1','g','_','g','e','n','e','r','a','t','e',
|
||||
' ','d','e','b','u','g','g','e','r',' ','i','n','f','o','r',
|
||||
'm','a','t','i','o','n',#000,'*','*','1','F','_','s','e','t',
|
||||
' ','f','i','l','e',' ','n','a','m','e','s',' ','a','n','d',
|
||||
' ','p','a','t','h','s',#000,'*','*','2','F','e','<','x','>',
|
||||
'_','r','e','d','i','r','e','c','t',' ','e','r','r','o','r',
|
||||
' ','o','u','t','p','u','t',' ','t','o',' ','<','x','>',#000,
|
||||
'*','L','2','F','g','<','x','>','_','<','x','>',' ','s','e',
|
||||
'a','r','c','h',' ','p','a','t','h',' ','f','o','r',' ','t',
|
||||
'h','e',' ','G','N','U',' ','C',' ','l','i','b',#000,'*','L',
|
||||
'2','F','r','<','x','>','_','<','x','>',' ','s','e','a','r',
|
||||
'c','h',' ','p','a','t','h',' ','f','o','r',' ','t','h','e',
|
||||
' ','e','r','r','o','r',' ','m','e','s','s','a','g','e',' ',
|
||||
'f','i','l','e',#000,'*','*','2','F','i','<','x','>','_','a',
|
||||
'd','d','s',' ','<','x','>',' ','t','o',' ','i','n','c','l',
|
||||
'u','d','e',' ','p','a','t','h',#000,'*','*','2','F','l','<',
|
||||
'x','>','_','a','d','d','s',' ','<','x','>',' ','t','o',' ',
|
||||
'l','i','b','r','a','r','y',' ','p','a','t','h',#000,'*','L',
|
||||
'2','F','L','<','x','>','_','u','s','e','s',' ','<','x','>',
|
||||
' ','a','s',' ','d','y','n','a','m','i','c',' ','l','i','n',
|
||||
'k','e','r',#000,'*','*','2','F','u','<','x','>','_','a','d',
|
||||
'd','s',' ','<','x','>',' ','t','o',' ','u','n','i','t',' ',
|
||||
'p','a','t','h',#000,'*','*','1','k','<','x','>','_','P','a',
|
||||
's','s',' ','<','x','>',' ','t','o',' ','t','h','e',' ','l',
|
||||
'i','n','k','e','r',#000,'*','*','1','L','_','s','e','t',' ',
|
||||
'l','a','n','g','u','a','g','e',#000,'*','*','2','L','D','_',
|
||||
'G','e','r','m','a','n',#000,'*','*','2','L','E','_','E','n',
|
||||
'g','l','i','s','h',#000,'*','*','2','L','N','_','D','u','t',
|
||||
'c','h',#000,'*','*','1','l','_','w','r','i','t','e',' ','l',
|
||||
'o','g','o',#000,'*','*','1','i','_','i','n','f','o','r','m',
|
||||
'a','t','i','o','n',#000,'*','*','1','n','_','d','o','n',#039,
|
||||
't',' ','r','e','a','d',' ','t','h','e',' ','d','e','f','a',
|
||||
'u','l','t',' ','c','o','n','f','i','g',' ','f','i','l','e',
|
||||
#000,'*','*','1','o','<','x','>','_','c','h','a','n','g','e',
|
||||
' ','t','h','e',' ','n','a','m','e',' ','o','f',' ','t','h',
|
||||
'e',' ','e','x','e','c','u','t','a','b','l','e',' ','p','r',
|
||||
'o','d','u','c','e','d',' ','t','o',' ','<','x','>',#000,'*',
|
||||
'*','1','p','g','_','g','e','n','e','r','a','t','e',' ','p',
|
||||
'r','o','f','i','l','e',' ','c','o','d','e',' ','f','o','r',
|
||||
' ','g','p','r','o','f',#000,'*','L','1','P','_','u','s','e',
|
||||
' ','p','i','p','e','s',' ','i','n','s','t','e','a','d',' ',
|
||||
'o','f',' ','c','r','e','a','t','i','n','g',' ','t','e','m',
|
||||
'p','o','r','a','r','y',' ','a','s','s','e','m','b','l','e',
|
||||
'r',' ','f','i','l','e','s',#000,'*','*','1','S','_','s','y',
|
||||
'n','t','a','x',' ','o','p','t','i','o','n','s',#000,'*','*',
|
||||
'2','S','2','_','s','w','i','t','c','h',' ','s','o','m','e',
|
||||
' ','D','e','l','p','h','i',' ','2',' ','e','x','t','e','n',
|
||||
's','i','o','n',' ','o','n',#000,'*','*','2','S','c','_','s',
|
||||
'u','p','p','o','r','t','s',' ','o','p','e','r','a','t','o',
|
||||
'r','s',' ','l','i','k','e',' ','C',' ','(','*','=',',','+',
|
||||
'=',',','/','=',' ','a','n','d',' ','-','=',')',#000,'*','*',
|
||||
'2','S','d','_','c','o','m','p','i','l','e','r',' ','d','i',
|
||||
's','p','o','s','e','s',' ','a','s','m',' ','l','i','s','t',
|
||||
's',' ','(','u','s','e','s',' ','l','e','s','s',' ','m','e',
|
||||
'm','o','r','y',' ','b','u','t',' ','s','l','o','w','e','r',
|
||||
')',#000,'*','*','2','S','e','_','c','o','m','p','i','l','e',
|
||||
'r',' ','s','t','o','p','s',' ','a','f','t','e','r',' ','t',
|
||||
'h','e',' ','f','i','r','s','t',' ','e','r','r','o','r',#000,
|
||||
'*','*','2','S','g','_','a','l','l','o','w','s',' ','L','A',
|
||||
'B','E','L',' ','a','n','d',' ','G','O','T','O',#000,'*','*',
|
||||
'2','S','i','_','s','u','p','p','o','r','t',' ','C','+','+',
|
||||
' ','s','t','l','y','e','d',' ','I','N','L','I','N','E',#000,
|
||||
'*','*','2','S','m','_','s','u','p','p','o','r','t',' ','m',
|
||||
'a','c','r','o','s',' ','l','i','k','e',' ','C',' ','(','g',
|
||||
'l','o','b','a','l',')',#000,'*','*','2','S','o','_','t','r',
|
||||
'i','e','s',' ','t','o',' ','b','e',' ','T','P','/','B','P',
|
||||
' ','7','.','0',' ','c','o','m','p','a','t','i','b','l','e',
|
||||
#000,'*','*','2','S','s','_','c','o','n','s','t','r','u','c',
|
||||
't','o','r',' ','n','a','m','e',' ','m','u','s','t',' ','b',
|
||||
'e',' ','i','n','i','t',' ','(','d','e','s','t','r','u','c',
|
||||
't','o','r',' ','m','u','s','t',' ','b','e',' ','d','o','n',
|
||||
'e',')',#000,'*','*','2','S','t','_','a','l','l','o','w','s',
|
||||
' ','s','t','a','t','i','c',' ','k','e','y','w','o','r','d',
|
||||
' ','i','n',' ','o','b','j','e','c','t','s',#000,'*','*','1',
|
||||
's','_','d','o','n',#039,'t',' ','c','a','l','l',' ','a','s',
|
||||
's','e','m','b','l','e','r',' ','a','n','d',' ','l','i','n',
|
||||
'k','e','r',' ','(','o','n','l','y',' ','w','i','t','h',' ',
|
||||
'-','a',')',#000,'*','*','1','T','<','x','>','_','T','a','r',
|
||||
'g','e','t',' ','o','p','e','r','a','t','i','n','g',' ','s',
|
||||
'y','s','t','e','m',#000,'3','*','2','T','G','O','3','2','V',
|
||||
'1','_','v','e','r','s','i','o','n',' ','1',' ','o','f',' ',
|
||||
'D','J',' ','D','e','l','o','r','i','e',' ','D','O','S',' ',
|
||||
'e','x','t','e','n','d','e','r',#000,'3','*','2','T','G','O',
|
||||
'3','2','V','2','_','v','e','r','s','i','o','n',' ','2',' ',
|
||||
'o','f',' ','D','J',' ','D','e','l','o','r','i','e',' ','D',
|
||||
'O','S',' ','e','x','t','e','n','d','e','r',#000,'3','*','2',
|
||||
'T','L','I','N','U','X','_','L','i','n','u','x',#000,'3','*',
|
||||
'2','T','O','S','2','_','O','S','/','2',' ','2','.','x',#000,
|
||||
'3','*','2','T','W','i','n','3','2','_','W','i','n','d','o',
|
||||
'w','s',' ','3','2',' ','B','i','t',#000,'6','*','2','T','A',
|
||||
'M','I','G','A','_','C','o','m','m','o','d','o','r','e',' ',
|
||||
'A','m','i','g','a',#000,'6','*','2','T','A','T','A','R','I',
|
||||
'_','A','t','a','r','i',' ','S','T','/','S','T','e','/','T',
|
||||
'T',#000,'6','*','2','T','M','A','C','O','S','_','M','a','c',
|
||||
'i','n','t','o','s','h',' ','m','6','8','k',#000,'6','*','2',
|
||||
'T','L','I','N','U','X','_','L','i','n','u','x','-','6','8',
|
||||
'k',#000,'*','*','1','u','<','x','>','_','u','n','d','e','f',
|
||||
'i','n','e','s',' ','t','h','e',' ','s','y','m','b','o','l',
|
||||
' ','<','x','>',#000,'*','*','1','U','_','u','n','i','t',' ',
|
||||
'o','p','t','i','o','n','s',#000,'*','*','2','U','l','s','_',
|
||||
'm','a','k','e',' ','s','t','a','t','i','c',' ','l','i','b',
|
||||
'r','a','r','y',' ','f','r','o','m',' ','u','n','i','t',#000,
|
||||
'*','*','2','U','l','d','_','m','a','k','e',' ','d','y','n',
|
||||
'a','m','i','c',' ','l','i','b','r','a','r','y',' ','f','r',
|
||||
'o','m',' ','u','n','i','t',#000,'*','*','2','U','n','_','d',
|
||||
'o','n',#039,'t',' ','c','h','e','c','k',' ','t','h','e',' ',
|
||||
'u','n','i','t',' ','n','a','m','e',#000,'*','*','2','U','p',
|
||||
'<','x','>','_','s','a','m','e',' ','a','s',' ','-','F','u',
|
||||
'<','x','>',#000,'*','*','2','U','s','_','c','o','m','p','i',
|
||||
'l','e',' ','a',' ','s','y','s','t','e','m',' ','u','n','i',
|
||||
't',#000,'*','*','1','v','<','x','>','_','B','e',' ','v','e',
|
||||
'r','b','o','s','e','.',' ','<','x','>',' ','i','s',' ','a',
|
||||
' ','c','o','m','b','i','n','a','t','i','o','n',' ','o','f',
|
||||
' ','t','h','e',' ','f','o','l','l','o','w','i','n','g',' ',
|
||||
'l','e','t','t','e','r','s',' ',':',#000,'*','*','2','*','_',
|
||||
'e',' ',':',' ','S','h','o','w',' ','e','r','r','o','r','s',
|
||||
' ','(','d','e','f','a','u','l','t',')',' ',' ',' ',' ',' ',
|
||||
' ',' ','d',' ',':',' ','S','h','o','w',' ','d','e','b','u',
|
||||
'g',' ','i','n','f','o',#000,'*','*','2','*','_','w',' ',':',
|
||||
' ','S','h','o','w',' ','w','a','r','n','i','n','g','s',' ',
|
||||
' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','u',
|
||||
' ',':',' ','S','h','o','w',' ','u','s','e','d',' ','f','i',
|
||||
'l','e','s',#000,'*','*','2','*','_','n',' ',':',' ','S','h',
|
||||
'o','w',' ','n','o','t','e','s',' ',' ',' ',' ',' ',' ',' ',
|
||||
' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','t',' ',':',' ',
|
||||
'S','h','o','w',' ','t','r','i','e','d',' ','f','i','l','e',
|
||||
's',#000,'*','*','2','*','_','h',' ',':',' ','S','h','o','w',
|
||||
' ','h','i','n','t','s',' ',' ',' ',' ',' ',' ',' ',' ',' ',
|
||||
' ',' ',' ',' ',' ',' ',' ',' ',' ','m',' ',':',' ','S','h',
|
||||
'o','w',' ','d','e','f','i','n','e','d',' ','m','a','c','r',
|
||||
'o','s',#000,'*','*','2','*','_','i',' ',':',' ','S','h','o',
|
||||
'w',' ','g','e','n','e','r','a','l',' ','i','n','f','o',' ',
|
||||
' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','p',' ',':',' ','S',
|
||||
'h','o','w',' ','c','o','m','p','i','l','e','d',' ','p','r',
|
||||
'o','c','e','d','u','r','e','s',#000,'*','*','2','*','_','l',
|
||||
' ',':',' ','S','h','o','w',' ','l','i','n','e','n','u','m',
|
||||
'b','e','r','s',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',
|
||||
' ','c',' ',':',' ','S','h','o','w',' ','c','o','n','d','i',
|
||||
't','i','o','n','a','l','s',#000,'*','*','2','*','_','a',' ',
|
||||
':',' ','S','h','o','w',' ','e','v','e','r','y','t','h','i',
|
||||
'n','g',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',
|
||||
'0',' ',':',' ','S','h','o','w',' ','n','o','t','h','i','n',
|
||||
'g',' ','(','e','x','c','e','p','t',' ','e','r','r','o','r',
|
||||
's',')',#000,'*','*','1','X','_','e','x','e','c','u','t','a',
|
||||
'b','l','e',' ','o','p','t','i','o','n','s',#000,'*','L','2',
|
||||
'X','c','_','l','i','n','k',' ','w','i','t','h',' ','t','h',
|
||||
'e',' ','c',' ','l','i','b','r','a','r','y',#000,'*','*','2',
|
||||
'X','s','_','s','t','r','i','p',' ','a','l','l',' ','s','y',
|
||||
'm','b','o','l','s',' ','f','r','o','m',' ','e','x','e','c',
|
||||
'u','t','a','b','l','e',#000,'*','*','0','*','_','P','r','o',
|
||||
'c','e','s','s','o','r',' ','s','p','e','c','i','f','i','c',
|
||||
' ','o','p','t','i','o','n','s',':',#000,'3','*','1','A','_',
|
||||
'o','u','t','p','u','t',' ','f','o','r','m','a','t',#000,'3',
|
||||
'*','2','A','o','_','c','o','f','f',' ','f','i','l','e',' ',
|
||||
'u','s','i','n','g',' ','G','N','U',' ','A','S',#000,'3','*',
|
||||
'2','A','n','a','s','m','c','o','f','f','_','c','o','f','f',
|
||||
' ','f','i','l','e',' ','u','s','i','n','g',' ','N','a','s',
|
||||
'm',#000,'3','*','2','A','n','a','s','m','e','l','f','_','e',
|
||||
'l','f','3','2',' ','(','l','i','n','u','x',')',' ','f','i',
|
||||
'l','e',' ','u','s','i','n','g',' ','N','a','s','m',#000,'3',
|
||||
'*','2','A','n','a','s','m','o','b','j','_','o','b','j',' ',
|
||||
'f','i','l','e',' ','u','s','i','n','g',' ','N','a','s','m',
|
||||
#000,'3','*','2','A','m','a','s','m','_','o','b','j',' ','u',
|
||||
's','i','n','g',' ','M','a','s','m',' ','(','M','i','r','c',
|
||||
'o','s','o','f','t',')',#000,'3','*','2','A','t','a','s','m',
|
||||
'_','o','b','j',' ','u','s','i','n','g',' ','T','a','s','m',
|
||||
' ','(','B','o','r','l','a','n','d',')',#000,'3','*','1','R',
|
||||
'_','a','s','s','e','m','b','l','e','r',' ','r','e','a','d',
|
||||
'i','n','g',' ','s','t','y','l','e',#000,'3','*','2','R','a',
|
||||
't','t','_','r','e','a','d',' ','A','T','&','T',' ','s','t',
|
||||
'y','l','e',' ','a','s','s','e','m','b','l','e','r',#000,'3',
|
||||
'*','2','R','i','n','t','e','l','_','r','e','a','d',' ','I',
|
||||
'n','t','e','l',' ','s','t','y','l','e',' ','a','s','s','e',
|
||||
'm','b','l','e','r',#000,'3','*','2','R','d','i','r','e','c',
|
||||
't','_','c','o','p','y',' ','a','s','s','e','m','b','l','e',
|
||||
'r',' ','t','e','x','t',' ','d','i','r','e','c','t','l','y',
|
||||
' ','t','o',' ','a','s','s','e','m','b','l','e','r',' ','f',
|
||||
'i','l','e',#000,'3','*','1','O','<','x','>','_','o','p','t',
|
||||
'i','m','i','z','a','t','i','o','n','s',#000,'3','*','2','O',
|
||||
'g','_','g','e','n','e','r','a','t','e',' ','s','m','a','l',
|
||||
'l','e','r',' ','c','o','d','e',#000,'3','*','2','O','G','_',
|
||||
'g','e','n','e','r','a','t','e',' ','f','a','s','t','e','r',
|
||||
' ','c','o','d','e',' ','(','d','e','f','a','u','l','t',')',
|
||||
#000,'3','*','2','O','r','_','k','e','e','p',' ','c','e','r',
|
||||
't','a','i','n',' ','v','a','r','i','a','b','l','e','s',' ',
|
||||
'i','n',' ','r','e','g','i','s','t','e','r','s',' ','(','s',
|
||||
't','i','l','l',' ','B','U','G','G','Y','!','!','!',')',#000,
|
||||
'3','*','2','O','u','_','e','n','a','b','l','e',' ','u','n',
|
||||
'c','e','r','t','a','i','n',' ','o','p','t','i','m','i','z',
|
||||
'a','t','i','o','n','s',' ','(','s','e','e',' ','d','o','c',
|
||||
's',')',#000,'3','*','2','O','1','_','l','e','v','e','l',' ',
|
||||
'1',' ','o','p','t','i','m','i','z','a','t','i','o','n','s',
|
||||
' ','(','q','u','i','c','k',' ','o','p','t','i','m','i','z',
|
||||
'a','t','i','o','n','s',')',#000,'3','*','2','O','2','_','l',
|
||||
'e','v','e','l',' ','2',' ','o','p','t','i','m','i','z','a',
|
||||
't','i','o','n','s',' ','(','-','O','1',' ','+',' ','s','l',
|
||||
'o','w','e','r',' ','o','p','t','i','m','i','z','a','t','i',
|
||||
'o','n','s',')',#000,'3','*','2','O','3','_','l','e','v','e',
|
||||
'l',' ','3',' ','o','p','t','i','m','i','z','a','t','i','o',
|
||||
'n','s',' ','(','s','a','m','e',' ','a','s',' ','-','O','2',
|
||||
'u',')',#000,'3','*','2','O','p','_','t','a','r','g','e','t',
|
||||
' ','p','r','o','c','e','s','s','o','r',#000,'3','*','3','O',
|
||||
'p','1','_','s','e','t',' ','t','a','r','g','e','t',' ','p',
|
||||
'r','o','c','e','s','s','o','r',' ','t','o',' ','3','8','6',
|
||||
'/','4','8','6',#000,'3','*','3','O','p','2','_','s','e','t',
|
||||
' ','t','a','r','g','e','t',' ','p','r','o','c','e','s','s',
|
||||
'o','r',' ','t','o',' ','P','e','n','t','i','u','m','/','P',
|
||||
'e','n','t','i','u','m','M','M','X',' ','(','t','m',')',#000,
|
||||
'3','*','3','O','p','3','_','s','e','t',' ','t','a','r','g',
|
||||
'e','t',' ','p','r','o','c','e','s','s','o','r',' ','t','o',
|
||||
' ','P','P','r','o','/','P','I','I','/','c','6','x','8','6',
|
||||
'/','K','6',' ','(','t','m',')',#000,'6','*','1','A','_','o',
|
||||
'u','t','p','u','t',' ','f','o','r','m','a','t',#000,'6','*',
|
||||
'2','A','o','_','U','n','i','x',' ','o','-','f','i','l','e',
|
||||
' ','u','s','i','n','g',' ','G','N','U',' ','A','S',#000,'6',
|
||||
'*','2','A','g','a','s','_','G','N','U',' ','M','o','t','o',
|
||||
'r','o','l','a',' ','a','s','s','e','m','b','l','e','r',#000,
|
||||
'6','*','2','A','m','i','t','_','M','I','T',' ','S','y','n',
|
||||
't','a','x',' ','(','o','l','d',' ','G','A','S',')',#000,'6',
|
||||
'*','2','A','m','o','t','_','S','t','a','n','d','a','r','d',
|
||||
' ','M','o','t','o','r','o','l','a',' ','a','s','s','e','m',
|
||||
'b','l','e','r',#000,'6','*','1','O','_','o','p','t','i','m',
|
||||
'i','z','a','t','i','o','n','s',#000,'6','*','2','O','a','_',
|
||||
't','u','r','n',' ','o','n',' ','t','h','e',' ','o','p','t',
|
||||
'i','m','i','z','e','r',#000,'6','*','2','O','g','_','g','e',
|
||||
'n','e','r','a','t','e',' ','s','m','a','l','l','e','r',' ',
|
||||
'c','o','d','e',#000,'6','*','2','O','G','_','g','e','n','e',
|
||||
'r','a','t','e',' ','f','a','s','t','e','r',' ','c','o','d',
|
||||
'e',' ','(','d','e','f','a','u','l','t',')',#000,'6','*','2',
|
||||
'O','x','_','o','p','t','i','m','i','z','e',' ','m','a','x',
|
||||
'i','m','u','m',' ','(','s','t','i','l','l',' ','B','U','G',
|
||||
'G','Y','!','!','!',')',#000,'6','*','2','O','2','_','s','e',
|
||||
't',' ','t','a','r','g','e','t',' ','p','r','o','c','e','s',
|
||||
's','o','r',' ','t','o',' ','a',' ','M','C','6','8','0','2',
|
||||
'0','+',#000,'*','*','1','*','_',#000,'*','*','1','?','_','s',
|
||||
'h','o','w','s',' ','t','h','i','s',' ','h','e','l','p',#000,
|
||||
'*','*','1','h','_','s','h','o','w','s',' ','t','h','i','s',
|
||||
' ','h','e','l','p',' ','w','i','t','h','o','u','t',' ','w',
|
||||
'a','i','t','i','n','g',#000);
|
@ -23,17 +23,20 @@
|
||||
unit verbose;
|
||||
interface
|
||||
|
||||
uses messages;
|
||||
uses
|
||||
messages;
|
||||
|
||||
{$ifndef TP}
|
||||
{$ifndef EXTERN_MSG}
|
||||
{$i msgtxt.inc}
|
||||
{$endif}
|
||||
{$ifdef TP}
|
||||
{$define EXTERN_MSG}
|
||||
{$endif}
|
||||
|
||||
{$ifndef EXTERN_MSG}
|
||||
{$i msgtxt.inc}
|
||||
{$endif}
|
||||
|
||||
{$i msgidx.inc}
|
||||
|
||||
|
||||
Const
|
||||
{ <$10000 will show file and line }
|
||||
V_Fatal = $0;
|
||||
@ -56,17 +59,18 @@ Const
|
||||
V_Default = V_Fatal + V_Error + V_Normal;
|
||||
|
||||
var
|
||||
msg : pmessage;
|
||||
msg : pmessage;
|
||||
|
||||
procedure SetRedirectFile(const fn:string);
|
||||
function SetVerbosity(const s:string):boolean;
|
||||
|
||||
procedure LoadMsgFile(const fn:string);
|
||||
procedure UpdateReplacement(var s:string);
|
||||
|
||||
procedure Stop;
|
||||
procedure ShowStatus;
|
||||
procedure Internalerror(i:longint);
|
||||
procedure Comment(l:longint;const s:string);
|
||||
procedure Comment(l:longint;s:string);
|
||||
procedure Message(w:tmsgconst);
|
||||
procedure Message1(w:tmsgconst;const s1:string);
|
||||
procedure Message2(w:tmsgconst;const s1,s2:string);
|
||||
@ -209,12 +213,20 @@ end;
|
||||
|
||||
procedure LoadMsgFile(const fn:string);
|
||||
begin
|
||||
if not (msg=nil) then
|
||||
if not(msg=nil) then
|
||||
dispose(msg,Done);
|
||||
msg:=new(pmessage,InitExtern(fn,ord(endmsgconst)));
|
||||
end;
|
||||
|
||||
|
||||
procedure UpdateReplacement(var s:string);
|
||||
begin
|
||||
Replace(s,'$FPCVER',version_string);
|
||||
Replace(s,'$FPCDATE',date_string);
|
||||
Replace(s,'$FPCTARGET',target_string);
|
||||
end;
|
||||
|
||||
|
||||
var
|
||||
lastfileidx,
|
||||
lastmoduleidx : longint;
|
||||
@ -268,7 +280,7 @@ begin
|
||||
end;
|
||||
|
||||
|
||||
procedure Comment(l:longint;const s:string);
|
||||
procedure Comment(l:longint;s:string);
|
||||
var
|
||||
dostop : boolean;
|
||||
begin
|
||||
@ -277,6 +289,8 @@ begin
|
||||
inc(status.errorcount);
|
||||
{ Create status info }
|
||||
UpdateStatus;
|
||||
{ Fix replacements }
|
||||
UpdateReplacement(s);
|
||||
{ show comment }
|
||||
if do_comment(l,s) or dostop or (status.errorcount>=status.maxerrorcount) then
|
||||
stop
|
||||
@ -294,7 +308,7 @@ begin
|
||||
{Parse options}
|
||||
idx:=pos('_',s);
|
||||
if idx=0 then
|
||||
v:=V_Default
|
||||
v:=V_Normal
|
||||
else
|
||||
if (idx in [1..5]) then
|
||||
begin
|
||||
@ -328,10 +342,10 @@ begin
|
||||
end;
|
||||
end;
|
||||
Delete(s,1,idx);
|
||||
Replace(s,'$VER',version_string);
|
||||
Replace(s,'$TARGET',target_string);
|
||||
{ fix status }
|
||||
UpdateStatus;
|
||||
{ Fix replacements }
|
||||
UpdateReplacement(s);
|
||||
{ show comment }
|
||||
if do_comment(v,s) or dostop or (status.errorcount>=status.maxerrorcount) then
|
||||
stop;
|
||||
@ -371,16 +385,20 @@ begin
|
||||
end;
|
||||
|
||||
begin
|
||||
{$ifndef TP}
|
||||
{$ifndef EXTERN_MSG}
|
||||
msg:=new(pmessage,Init(@msgtxt,ord(endmsgconst)));
|
||||
{$endif}
|
||||
{$ifndef EXTERN_MSG}
|
||||
msg:=new(pmessage,Init(@msgtxt,ord(endmsgconst)));
|
||||
{$else}
|
||||
LoadMsgFile(exepath+'errore.msg');
|
||||
{$endif}
|
||||
end.
|
||||
|
||||
{
|
||||
$Log$
|
||||
Revision 1.17 1998-08-19 14:57:52 peter
|
||||
Revision 1.18 1998-08-29 13:52:40 peter
|
||||
+ new messagefile
|
||||
* merged optione.msg into errore.msg
|
||||
|
||||
Revision 1.17 1998/08/19 14:57:52 peter
|
||||
* small fix for aktfilepos
|
||||
|
||||
Revision 1.16 1998/08/18 14:17:15 pierre
|
||||
|
Loading…
Reference in New Issue
Block a user