[Lazarus] cross-compiler win32:i386 can't compile

FreeMan freeman35 at delphiturkiye.com
Sat Dec 7 15:25:22 CET 2013


Thank you for answer
but somethings wrong, when try "project option -> compiler option -> 
config & target -> Target platform"
-T Win32
-P i386
Target processor (Default or any other)
click to ok button, then this error popup

"Compiler "/bin/fpc" does not support target i386-win32"

Click build project, in message window


Error: ppc386 can't be executed, error message: Failed to execute 
"ppc386", error code: 127


But OS_TARGET=win64 CPU_TARGET=x86_64 everythink is okey and I test my 
project in w8:x64 without any error
maybe my system need some i386 linux packet(s), but I couldn't find any 
info about this.



and another test, in console
program test;
begin
   writeln('DATE ',{$i %DATE%});
   writeln('FPCTARGET ',{$i %FPCTARGET%});
   writeln('FPCTARGETCPU ',{$i %FPCTARGETCPU%});
   writeln('FPCTARGETOS ',{$i %FPCTARGETOS%});
   writeln('FPCVERSION ',{$i %FPCVERSION%});
end.


/tmp$ fpc -Twin32 -Pi386 test.pas
Error: ppc386 can't be executed, error message: Failed to execute 
"ppc386", error code: 127


/tmp$ fpc -Twin64 -Px86_64 test.pas
Free Pascal Compiler version 2.7.1 [2013/12/07] for x86_64
Copyright (c) 1993-2013 by Florian Klaempfl and others
Target OS: Win64 for x64
Compiling test.pas
Linking test.exe
8 lines compiled, 0.1 sec, 31440 bytes code, 1300 bytes data



07-12-2013 15:24 tarihinde, leledumbo yazdı:
> You get the cross compiler, that's all you need. Lazarus does NOT need to be
> cross compiled.
>
>
>
> --
> View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-cross-compiler-win32-i386-can-t-compile-tp4034702p4034703.html
> Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20131207/d863cfd8/attachment-0003.html>


More information about the Lazarus mailing list