[projectgroups] Trying to compile project with custom build mode which replaces IDE marco "CompPath" causes error.
Original Reporter info from Mantis: Cyrax
-
Reporter name:
Original Reporter info from Mantis: Cyrax
- Reporter name:
Description:
It will try to compile for i386-win32 target instead of default target, which is x86_64-win64.
---
Excerpt from message window:
Hint: (lazarus) [RunTool] F:\free_pascal_and_lazarus\fpc\i386\trunk\binary\fpc_trunk\bin\i386-win32\fpc.exe "-iWTOTP"
Hint: (lazarus) [RunTool] F:\free_pascal_and_lazarus\fpc\i386\trunk\binary\fpc_trunk\bin\i386-win32\fpc.exe "-va" "compilertest.pas"
Hint: (lazarus) [RunTool] F:\free_pascal_and_lazarus\fpc\i386\trunk\binary\fpc_trunk\bin\i386-win32\fpc.exe "-iWTOTP" "-Pi386" "-Twin32"
Hint: (lazarus) [RunTool] F:\free_pascal_and_lazarus\fpc\i386\trunk\binary\fpc_trunk\bin\i386-win32\fpc.exe "-va" "-Pi386" "-Twin32" "compilertest.pas"
Hint: (lazarus) [RunTool] f:\free_pascal_and_lazarus\fpc\x86_64\trunk\binary\fpc_trunk\bin\x86_64-win64\ppcx64.exe "-iWTOTP"
Hint: (lazarus) [RunTool] f:\free_pascal_and_lazarus\fpc\x86_64\trunk\binary\fpc_trunk\bin\x86_64-win64\ppcx64.exe "-va" "compilertest.pas"
Hint: (lazarus) [RunTool] f:\free_pascal_and_lazarus\fpc\x86_64\trunk\binary\fpc_trunk\bin\x86_64-win64\ppcx64.exe "-iWTOTP" "-Pi386" "-Twin32"
Hint: (lazarus) [RunTool] f:\free_pascal_and_lazarus\fpc\x86_64\trunk\binary\fpc_trunk\bin\x86_64-win64\ppcx64.exe "-va" "-Pi386" "-Twin32" "compilertest.pas"
Warning: [TFPCTargetConfigCache.Update] invalid compiler: Compiler="f:\free_pascal_and_lazarus\fpc\x86_64\trunk\binary\fpc_trunk\bin\x86_64-win64\ppcx64.exe" Options="-Pi386 -Twin32" RealCompiler=""
Warning: [TFPCTargetConfigCache.Update] no unit paths: f:\free_pascal_and_lazarus\fpc\x86_64\trunk\binary\fpc_trunk\bin\x86_64-win64\ppcx64.exe -Pi386 -Twin32
Info: (lazarus) Execute Title="K?nn? projekti, Moodi: Default_Console_testing1, OS: win32, CPU: i386, Kohde: bin\i386-win32-win32-30101\project1.exe"
Info: (lazarus) Working Directory="U:\32-bit\kielet\pascal\free_pascal\lazarus\projects\research\source 30\lazarus projectgroup testing 01\app"
Info: (lazarus) Executable="f:\free_pascal_and_lazarus\fpc\x86_64\trunk\binary\fpc_trunk\bin\x86_64-win64\ppcx64.exe"
Info: (lazarus) Param[0]="-Twin32"
Info: (lazarus) Param[1]="-Pi386"
Info: (lazarus) Param[2]="-MObjFPC"
Info: (lazarus) Param[3]="-Scghi"
Info: (lazarus) Param[4]="-gw2"
Info: (lazarus) Param[5]="-godwarfsets"
Info: (lazarus) Param[6]="-gl"
Info: (lazarus) Param[7]="-l"
Info: (lazarus) Param[8]="-vewnhibq"
Info: (lazarus) Param[9]="-FiU:\32-bit\kielet\pascal\free_pascal\lazarus\projects\research\source 30\lazarus projectgroup testing 01\app\lib\i386-win32-win32-30101"
Info: (lazarus) Param[10]="-FuU:\32-bit\kielet\pascal\free_pascal\lazarus\projects\research\source 30\lazarus projectgroup testing 01\app"
Info: (lazarus) Param[11]="-FUU:\32-bit\kielet\pascal\free_pascal\lazarus\projects\research\source 30\lazarus projectgroup testing 01\app\lib\i386-win32-win32-30101"
Info: (lazarus) Param[12]="-FEU:\32-bit\kielet\pascal\free_pascal\lazarus\projects\research\source 30\lazarus projectgroup testing 01\app\bin\i386-win32-win32-30101"
Info: (lazarus) Param[13]="-godwarfmethodclassprefix"
Info: (lazarus) Param[14]="project1.lpr"
Error: Illegal parameter: -Twin32
Error: (lazarus) K?nn? projekti, Moodi: Default_Console_testing1, OS: win32, CPU: i386, Kohde: bin\i386-win32-win32-30101\project1.exe: stopped with exit code 1
ERROR: failed compiling of project U:\32-bit\kielet\pascal\free_pascal\lazarus\projects\research\source 30\lazarus projectgroup testing 01\app\project1.lpi
Additional information:
Lazarus revision 50485
FPC revision 32495
FPC make commands:
distclean
all
install
COMPILER_OPTIONS=-gw2 -godwarfsets -godwarfmethodclassprefix -gl -O- -Xs- -Si- -vb -XX- -dSYSTEM_DISABLE_INLINE -dTYPINFO_DISABLE_INLINE -dSYSUTILS_DISABLE_INLINE -dSTRINGS_DISABLE_INLINE -dWINDOWS_DISABLE_INLINE -dCTYPES_DISABLE_INLINE -dFPEXTRES_DISABLE_INLINE -dHEAPTRC_DISABLE_INLINE -dMACPAS_DISABLE_INLINE -dFPC_COMPILER_DISABLE_INLINE -dNO_SMART_LINK
INSTALL_PREFIX=F:\free_pascal_and_lazarus\fpc\x86_64\trunk\binary\fpc_trunk
UPXPROG=echo
IDE=1
REVSTR=32495
ALLOW_WARNINGS=1
NOWPOCYCLE=1
OVERRIDEVERSIONCHECK=1
Lazarus make commands:
clean
all
OPT=-gw2 -godwarfsets -godwarfmethodclassprefix -gl -gh -O- -Xs- -Si- -vb -XX- -dHEAPTRC_WINDOW -dDBG_WITH_DEBUGGER_DEBUG
UPXPROG=echo
USESVN2REVISIONINC=0
Mantis conversion info:
- Mantis ID: 29079
- OS: Server 2008 R2
- OS Build: 6.1.7601 (SP1)
- Build: r50485
- Platform: Windows
- Version: 1.5 (SVN)