win32 cross installer: detect source os

git-svn-id: trunk@10819 -
This commit is contained in:
vincents 2007-03-28 11:53:29 +00:00
parent ad5316085f
commit 07f94a00c2

View File

@ -53,6 +53,7 @@ rm -rf %FPCSVNDIR%\fpcsrc\compiler\*.exe
%MAKEEXE% compiler_cycle FPC=%RELEASE_PPC%
FOR /F %%L IN ('%FPCSVNDIR%\fpcsrc\compiler\utils\fpc.exe -PB') DO SET COMPILER=%FPCSVNDIR%\fpcsrc\compiler\%%L
FOR /F %%L IN ('%FPCSVNDIR%\fpcsrc\compiler\utils\fpc.exe -iSO') DO SET FPCSourceOS=%FPCSVNDIR%\fpcsrc\compiler\%%L
FOR /F %%L IN ('%FPCSVNDIR%\fpcsrc\compiler\utils\fpc.exe -P%TARGETCPU% -PB') DO SET PPCNAME=%%L
%MAKEEXE% compiler FPC=%COMPILER% PPC_TARGET=%TARGETCPU% EXENAME=%PPCNAME%