|
@@ -24,6 +24,8 @@ rem *** version to ppos2.old) and used to compile both RTL and
|
|
rem *** compiler again, and then finally snapshot is created
|
|
rem *** compiler again, and then finally snapshot is created
|
|
rem *** PPOS2.EXE is used for the compilation, unless a different compiler name
|
|
rem *** PPOS2.EXE is used for the compilation, unless a different compiler name
|
|
rem *** is specified in COMPILER variable.
|
|
rem *** is specified in COMPILER variable.
|
|
|
|
+rem *** Environment variable OTHEROPTS may be used to specify additional
|
|
|
|
+rem *** switches (e.g. setting level of verbosity, etc.).
|
|
|
|
|
|
echo *"Makefile" for OS/2:
|
|
echo *"Makefile" for OS/2:
|
|
|
|
|
|
@@ -52,7 +54,7 @@ set FPCSRC=%FPCDIR%\SOURCE
|
|
:SetOpts
|
|
:SetOpts
|
|
|
|
|
|
rem Common options for OS/2 target
|
|
rem Common options for OS/2 target
|
|
-set OS2OPT=-TOS2
|
|
|
|
|
|
+set OS2OPT=-TOS2 %OTHEROPTS%
|
|
rem Stack size for the compiler
|
|
rem Stack size for the compiler
|
|
set STACKOPT=-Cs64500
|
|
set STACKOPT=-Cs64500
|
|
rem Options for OS/2 compiler
|
|
rem Options for OS/2 compiler
|
|
@@ -197,10 +199,8 @@ echo *Compiling unit HeapTrace ...
|
|
%FPCTOOLS%%COMPILER% %OS2RTLC%HEAPTRC.PP
|
|
%FPCTOOLS%%COMPILER% %OS2RTLC%HEAPTRC.PP
|
|
echo *Compiling unit CPU ...
|
|
echo *Compiling unit CPU ...
|
|
%FPCTOOLS%%COMPILER% %OS2RTLP%CPU.PP
|
|
%FPCTOOLS%%COMPILER% %OS2RTLP%CPU.PP
|
|
-
|
|
|
|
echo *Compiling unit MMX ...
|
|
echo *Compiling unit MMX ...
|
|
%FPCTOOLS%%COMPILER% %OS2RTLP%MMX.PP
|
|
%FPCTOOLS%%COMPILER% %OS2RTLP%MMX.PP
|
|
-
|
|
|
|
echo *Compiling unit TypInfo ...
|
|
echo *Compiling unit TypInfo ...
|
|
%FPCTOOLS%%COMPILER% %OS2RTLO%TYPINFO.PP
|
|
%FPCTOOLS%%COMPILER% %OS2RTLO%TYPINFO.PP
|
|
echo *Compiling unit DosCalls ...
|
|
echo *Compiling unit DosCalls ...
|
|
@@ -211,6 +211,14 @@ echo *Compiling unit CRT ...
|
|
%FPCTOOLS%%COMPILER% %OS2RTL%CRT.PAS
|
|
%FPCTOOLS%%COMPILER% %OS2RTL%CRT.PAS
|
|
echo *Compiling unit Printer ...
|
|
echo *Compiling unit Printer ...
|
|
%FPCTOOLS%%COMPILER% %OS2RTL%PRINTER.PAS
|
|
%FPCTOOLS%%COMPILER% %OS2RTL%PRINTER.PAS
|
|
|
|
+echo *Compiling unit SysUtils ...
|
|
|
|
+%FPCTOOLS%%COMPILER% %OS2RTLO%SYSUTILS.PP
|
|
|
|
+echo *Compiling unit Math ...
|
|
|
|
+%FPCTOOLS%%COMPILER% %OS2RTLO%MATH.PP
|
|
|
|
+echo *Compiling unit UComplex ...
|
|
|
|
+%FPCTOOLS%%COMPILER% %OS2RTLC%UCOMPLEX.PP
|
|
|
|
+echo *Compiling unit GetOpts ...
|
|
|
|
+%FPCTOOLS%%COMPILER% %OS2RTLC%GETOPTS.PP
|
|
echo *Compiling unit KbdCalls ...
|
|
echo *Compiling unit KbdCalls ...
|
|
%FPCTOOLS%%COMPILER% %OS2RTL%KBDCALLS.PAS
|
|
%FPCTOOLS%%COMPILER% %OS2RTL%KBDCALLS.PAS
|
|
echo *Compiling unit MouCalls ...
|
|
echo *Compiling unit MouCalls ...
|
|
@@ -302,4 +310,12 @@ goto End
|
|
:ErrorDir
|
|
:ErrorDir
|
|
echo *Error: Environment variable FPCDIR must point to your base FPC directory!!!
|
|
echo *Error: Environment variable FPCDIR must point to your base FPC directory!!!
|
|
goto End
|
|
goto End
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ $Log$
|
|
|
|
+ Revision 1.2 1999-09-15 07:31:49 hajny
|
|
|
|
+ + some units added, OTHEROPTS variable support
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
:End
|
|
:End
|