<div dir="ltr">At some stage in the make INSTALL the installation stops with this message. <br><div><br>/usr/bin/install -c -m 755 ppcross386 /home/user/lazarusBuildTesting/testbuild01/fpc/lib/fpc/3.1.1/ppcross386<br><br>/usr/bin/install: cannot stat `ppcross386': No such file or directory<br><br clear="all"></div><div>The script is adapted from the Codebot setup.sh script created for Linux and follows the logic below. It works on a 64bit Ubuntu 14.04 system but fails when I try it on a 32bit Ubuntu 12.04 system. The first make all and make install succeeds. When it gets to crossinstall phase is when the error occurs with the ppcross386 message<br><br><br>if [ "$CPU" = "i686" ]<br>then<br>  CPU="i386"<br>fi<br><br>echo "starting main FPC compilation"<br>cd $THIS_BUILD_DIR/fpc<br>make all<br>make install INSTALL_PREFIX=$THIS_BUILD_DIR/fpc<br><br><br><br></div><div>if [ "$CPU" = "i686" ]<br>then<br>  echo CPU = ${CPU} making crossinstall OS_TARGET=linux CPU_TARGET=x86_64 INSTALL_PREFIX=$THIS_BUILD_DIR/fpc<br>  make crossinstall OS_TARGET=linux CPU_TARGET=x86_64 INSTALL_PREFIX=$THIS_BUILD_DIR/fpc<br>else<br>  echo CPU = ${CPU} making crossinstall OS_TARGET=linux CPU_TARGET=i386 INSTALL_PREFIX=$THIS_BUILD_DIR/fpc<br>  make crossinstall OS_TARGET=linux CPU_TARGET=i386 INSTALL_PREFIX=$THIS_BUILD_DIR/fpc  <br>fi<br>make crossinstall OS_TARGET=win32 CPU_TARGET=i386 INSTALL_PREFIX=$THIS_BUILD_DIR/fpc<br>make crossinstall OS_TARGET=win64 CPU_TARGET=x86_64 INSTALL_PREFIX=$THIS_BUILD_DIR/fpc<br><br><br><br>-- <br><div class="gmail_signature">Frank Church<br><br>=======================<br><a href="http://devblog.brahmancreations.com">http://devblog.brahmancreations.com</a></div>
</div></div>