Changeset 2200
- Timestamp:
- Dec 25, 2006, 9:31:19 PM (14 years ago)
- Location:
- to-imperative/trunk/c++
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
to-imperative/trunk/c++/config.bat
r2189 r2200 29 29 rem -3- Refal+ options 30 30 31 set RFLAGS=-B %~dp0\..\lib31 set RFLAGS=-B "%~dp0\..\lib" 32 32 33 33 rem -4- C++ compiler options 34 34 35 set CFLAGS=/TP /EHsc /D_CRT_NONSTDC_NO_DEPRECATE /D_CRT_SECURE_NO_DEPRECATE /DWINDOWS /DRFRT_WITHOUT_MPINT /I %~dp0\libp++ /I%~dp0\runtime /I%~dp0\lib /I%~dp0\include35 set CFLAGS=/TP /EHsc /D_CRT_NONSTDC_NO_DEPRECATE /D_CRT_SECURE_NO_DEPRECATE /DWINDOWS /DRFRT_WITHOUT_MPINT /I"%~dp0\libp++" /I"%~dp0\runtime" /I"%~dp0\lib" /I"%~dp0\include" 36 36 37 37 rem : The following turns on an agressive C++ code optimization. 38 38 rem : Be warned that it needs significant resources. 39 39 40 set CFLAGS=%CFLAGS% /O240 rem set CFLAGS=%CFLAGS% /O2 41 41 42 42 rem -5- Linker options 43 43 44 set LFLAGS= %~dp0\libp++\pxx.lib %~dp0\runtime\rfrt.lib %~dp0\lib\rf.lib44 set LFLAGS="%~dp0\libp++\pxx.lib" "%~dp0\runtime\rfrt.lib" "%~dp0\lib\rf.lib" 45 45 46 46 rem : If your programs use deep recursion you may want to increase … … 53 53 rem -6- Auxiliary 54 54 55 set PATH= %~dp0;%~dp0\compiler;%PATH%55 set PATH="%~dp0";"%~dp0\compiler";%PATH% 56 56 57 57 set RFP_CONF_DONE=1 -
to-imperative/trunk/c++/lib/makeall.bat
r2189 r2200 3 3 setlocal enableextensions enabledelayedexpansion 4 4 5 if not defined RFP_CONF_DONE call %~dp0\..\config.bat5 if not defined RFP_CONF_DONE call "%~dp0\..\config.bat" 6 6 7 7 if not "%1" == "-l" ( … … 9 9 cd %%d 10 10 for /F %%f in (file_list) do cl %CFLAGS% /c %%f.cc 11 cd %~dp011 cd "%~dp0" 12 12 ) 13 13 ) -
to-imperative/trunk/c++/makeall.bat
r2189 r2200 3 3 if not defined RFP_CONF_DONE call "%~dp0\config.bat" 4 4 5 cd "%~dp0\libp++"5 cd /d "%~dp0\libp++" 6 6 call makeall 7 7 @if errorlevel 1 goto end 8 8 9 cd "%~dp0\runtime"9 cd /d "%~dp0\runtime" 10 10 call makeall 11 11 @if errorlevel 1 goto end 12 12 13 cd "%~dp0\lib"13 cd /d "%~dp0\lib" 14 14 call makeall 15 15 @if errorlevel 1 goto end 16 16 17 cd "%~dp0\compiler"17 cd /d "%~dp0\compiler" 18 18 call makeall 19 19 @if errorlevel 1 goto end 20 20 21 21 :end 22 cd "%~dp0"22 cd /d "%~dp0" -
to-imperative/trunk/c++/rfp.bat
r2191 r2200 3 3 setlocal enableextensions enabledelayedexpansion 4 4 5 if not defined RFP_CONF_DONE call %~p0\config.bat5 if not defined RFP_CONF_DONE call "%~dp0\config.bat" 6 6 7 if "%*"== "" exit /b 17 if %* == "" exit /b 1 8 8 9 9 for %%f in (%*) do ( … … 13 13 14 14 for %%f in (%*) do ( 15 if "%%~xf" == ".rf" cl %CFLAGS% /c /Fo %%~pf\%%~nf.obj %%~pf\%%~nf.cc16 if "%%~xf" == ".cc" cl %CFLAGS% /c /Fo %%~pf\%%~nf.obj %%~pf\%%~nf.cc15 if "%%~xf" == ".rf" cl %CFLAGS% /c /Fo"%%~dpf\%%~nf.obj" "%%~dpf\%%~nf.cc" 16 if "%%~xf" == ".cc" cl %CFLAGS% /c /Fo"%%~dpf\%%~nf.obj" "%%~dpf\%%~nf.cc" 17 17 if errorlevel 1 exit /b %ERRORLEVEL% 18 18 ) … … 20 20 set list= 21 21 for %%f in (%*) do ( 22 set list=!list! %%~pf\%%~nf.obj22 set list=!list! "%%~dpf\%%~nf.obj" 23 23 ) 24 24
Note: See TracChangeset
for help on using the changeset viewer.