[fpc-pascal] Error when trying to make tests for target AVR
Christo
christo.crause at gmail.com
Sun Jan 7 04:59:29 CET 2018
I'm trying to run the test suite for AVR by executing the following make statement:
make FPC=~/fpc/3.1.1/compiler/ppcx64 TEST_FPC=~/fpc/3.1.1/compiler/ppcrossavr
TEST_CPU_TARGET=avr TEST_OS_TARGET=embedded TEST_SUBARCH=avr5 TEST_OPT="-XPavr-"
from the /tests folder. Make terminates with the error, see below for the last couple of lines of output:
make -C tstunits FPC_VERSION= FPC=/home/christo/fpc/3.1.1/compiler/ppcrossavr CPU_TARGET=avr OS_TARGET=embedded SUBARCH=avr5 'OPT=-XPavr- -Fd' CCOMPILER= BINUTILSPREFIX=
make[2]: Entering directory '/home/christo/fpc/3.1.1/tests/tstunits'
make -C ../../rtl all 'OPT= -n' 'CROSSOPT=-XPavr- -Fd'
make[3]: Entering directory '/home/christo/fpc/3.1.1/rtl'
make -C embedded all
make[4]: Entering directory '/home/christo/fpc/3.1.1/rtl/embedded'
make[4]: Leaving directory '/home/christo/fpc/3.1.1/rtl/embedded'
make[3]: Leaving directory '/home/christo/fpc/3.1.1/rtl'
make -C ../../rtl install INSTALL_PREFIX=/home/christo/fpc/3.1.1/tests/tstunits/tmp INSTALL_UNITDIR=/home/christo/fpc/3.1.1/tests/tstunits/avr-embedded OPT= CROSSOPT=
make[3]: Entering directory '/home/christo/fpc/3.1.1/rtl'
make -C embedded all
make[4]: Entering directory '/home/christo/fpc/3.1.1/rtl/embedded'
make[4]: Leaving directory '/home/christo/fpc/3.1.1/rtl/embedded'
__missing_command_FPCMAKE -p -Tavr-embedded Makefile.fpc
make[3]: __missing_command_FPCMAKE: Command not found
Makefile:1450: recipe for target 'fpc_install' failed
make[3]: *** [fpc_install] Error 127
I've tried 3.0.4 as starting compiler but got the same error. I can generate a cross compiler for AVR normally. Any idea what is missing/wrong here?
More information about the fpc-pascal
mailing list