<div dir="ltr"><div dir="ltr"></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 21, 2019 at 4:07 PM Marģers . via fpc-devel <<a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
i used simple script for compiling compiler<br>
<br>
export PP=/home/user/fpc304/lib/fpc/3.0.4/ppcx64<br>
make singlezipinstall OS_TARGET=linux<br>
CPU_TARGET=x86_64 OPT=" <br>
-Fu/home/user/fpc304/lib/fpc/3.0.4/units/x86_64-linux/rtl/"<br>
<br>
Reason of "export PP=" is that i don't have<br>
installed fpc, so i have to specify path where to<br>
find it.<br>
Script was fine some time ago, but now it can not<br>
find compiler: <br>
<br>
Makefile:135: *** Compiler<br>
/home/user/where/is/my/copy/of/fpc/compiler/ppcx64<br>
not found. Stop.<br>
<br>
<br>
Can i improve my script to actually work or is it<br>
some sort of makefile bug?<br></blockquote><div><br></div><div>The error message does not agree with your exported value of PP, so something else is messing up. An alternative to the export command is to specify the path to the compiler as a parameter to make, similar to the rest of the parameters you pass to make. To troubleshoot use the info command for make to see how the various variables are configured:</div><div><br></div><div>make info PP=/home/user/fpc304/lib/fpc/3.0.4/ppcx64</div><div><br></div><div>If the compiler is found, it should be reported as the first line printed after == Configuration info ==<br></div></div></div>