* * *

Author Topic: Unable to Use Crossinstalled Win32-i386  (Read 162 times)


  • Full Member
  • ***
  • Posts: 164
Unable to Use Crossinstalled Win32-i386
« on: January 24, 2018, 06:22:03 am »
INSTALL_PREFIX is ~/.prefix. Lazbuild works properly with my the native toolchain (linux-x86_64) and with win64-x86_64. However, the commands on http://wiki.lazarus.freepascal.org/Cross_compiling_for_Win32_under_Linux complete but do not let me use the 32 bit Windows toolchain via:
Code: [Select]
lazbuild --os=win32 --cpu=i386
Code: [Select]
Hint: (lazarus) [RunTool] /home/R0b0t1/.prefix/bin/fpc "-iWTOTP"
Hint: (lazarus) [RunTool] /home/R0b0t1/.prefix/bin/fpc "-va" "compilertest.pas"
Hint: (lazarus) Last compile was incomplete for FCL 1.0.1
  State file="/home/R0b0t1/.prefix/share/lazarus/packager/units/i386-win32/FCL.compiled"
Hint: (lazarus) Missing state file of LazUtils 1.0: /home/R0b0t1/.prefix/share/lazarus/components/lazutils/lib/i386-win32/LazUtils.compiled
Hint: (lazarus) Missing state file of LCLBase /home/R0b0t1/.prefix/share/lazarus/lcl/units/i386-win32/LCLBase.compiled
Hint: (lazarus) [RunTool] /home/R0b0t1/.prefix/bin/fpc "-iWTOTP" "-Pi386" "-Twin32"
Hint: (lazarus) [RunTool] /home/R0b0t1/.prefix/bin/fpc "-va" "-Pi386" "-Twin32" "compilertest.pas"
Warning: [TFPCTargetConfigCache.Update] invalid compiler: Compiler="/home/R0b0t1/.prefix/bin/fpc" Options="-Pi386 -Twin32" RealCompiler=""
Warning: [TFPCTargetConfigCache.Update] no unit paths: /home/R0b0t1/.prefix/bin/fpc -Pi386 -Twin32
Hint: (lazarus) Missing state file of LCL /home/R0b0t1/.prefix/share/lazarus/lcl/units/i386-win32/win32/LCL.compiled
Hint: (lazarus) Missing state file of SynEdit 1.0: /home/R0b0t1/.prefix/share/lazarus/components/synedit/units/i386-win32/win32/SynEdit.compiled
Info: (lazarus) Execute Title="Compile package FCL 1.0.1"
Info: (lazarus) Working Directory="/home/R0b0t1/.prefix/share/lazarus/packager/registration/"
Info: (lazarus) Executable="/home/R0b0t1/.prefix/bin/fpc"
Info: (lazarus) Param[0]="-Twin32"
Info: (lazarus) Param[1]="-Pi386"
Info: (lazarus) Param[2]="-MObjFPC"
Info: (lazarus) Param[3]="-Scghi"
Info: (lazarus) Param[4]="-O1"
Info: (lazarus) Param[5]="-g"
Info: (lazarus) Param[6]="-gl"
Info: (lazarus) Param[7]="-l"
Info: (lazarus) Param[8]="-vewnhibq"
Info: (lazarus) Param[9]="-Fu/home/R0b0t1/.prefix/share/lazarus/packager/registration/"
Info: (lazarus) Param[10]="-FU/home/R0b0t1/.prefix/share/lazarus/packager/units/i386-win32/"
Info: (lazarus) Param[11]="fcllaz.pas"
Error: ppc386 can't be executed, error message: Failed to execute "ppc386", error code: 127
Error: (lazarus) Compile package FCL 1.0.1: stopped with exit code 256
Error: (lazarus) [TLazPackageGraph.CompileRequiredPackages] "Exit code 256"
Error: (lazbuild) Project dependencies of /home/R0b0t1/devel/Simba/Projects/Simba/Simba.lpi

Any hints?



Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus