<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
In fpc "compiler" folder has "<u><b>ppcross386</b></u>" file. <u><b>just
link in "/usr/bin/"</b></u> folder thats all :)<br>
Thank you for help leledumbo<br>
<br>
<div class="moz-cite-prefix">07-12-2013 16:25 tarihinde, FreeMan
yazdı:<br>
</div>
<blockquote cite="mid:52A32FD2.7020004@delphiturkiye.com"
type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
Thank you for answer<br>
but somethings wrong, when try "project option -> compiler
option -> config & target -> Target platform" <br>
-T Win32<br>
-P i386<br>
Target processor (Default or any other)<br>
click to ok button, then this error popup<br>
<meta name="qrichtext" content="1">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><!--StartFragment-->"Compiler
"/bin/fpc" does not support target i386-win32"<br>
</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;">Click
build project, in message window</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br>
Error: ppc386 can't be executed, error message: Failed to
execute "ppc386", error code: 127<br>
</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br>
But OS_TARGET=win64 CPU_TARGET=x86_64 everythink is okey and I
test my project in w8:x64 without any error<br>
maybe my system need some i386 linux packet(s), but I couldn't
find any info about this. <br>
<!--EndFragment--></p>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style><br>
<br>
and another test, in console <br>
program test;<br>
begin<br>
writeln('DATE ',{$i %DATE%});<br>
writeln('FPCTARGET ',{$i %FPCTARGET%});<br>
writeln('FPCTARGETCPU ',{$i %FPCTARGETCPU%});<br>
writeln('FPCTARGETOS ',{$i %FPCTARGETOS%});<br>
writeln('FPCVERSION ',{$i %FPCVERSION%});<br>
end.<br>
<br>
<br>
/tmp$ fpc -Twin32 -Pi386 test.pas<br>
Error: ppc386 can't be executed, error message: Failed to execute
"ppc386", error code: 127<br>
<br>
<br>
/tmp$ fpc -Twin64 -Px86_64 test.pas<br>
Free Pascal Compiler version 2.7.1 [2013/12/07] for x86_64<br>
Copyright (c) 1993-2013 by Florian Klaempfl and others<br>
Target OS: Win64 for x64<br>
Compiling test.pas<br>
Linking test.exe<br>
8 lines compiled, 0.1 sec, 31440 bytes code, 1300 bytes data<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">07-12-2013 15:24 tarihinde, leledumbo
yazdı:<br>
</div>
<blockquote cite="mid:1386422681787-4034703.post@n3.nabble.com"
type="cite">
<pre wrap="">You get the cross compiler, that's all you need. Lazarus does NOT need to be
cross compiled.
--
View this message in context: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-cross-compiler-win32-i386-can-t-compile-tp4034702p4034703.html">http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-cross-compiler-win32-i386-can-t-compile-tp4034702p4034703.html</a>
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
--
_______________________________________________
Lazarus mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
_______________________________________________
Lazarus mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
</blockquote>
<br>
</body>
</html>