Re: [fpc-pascal] Error when trying to make tests for target AVR
On Sun, 2018-01-07 at 11:30 +0100, Florian Klaempfl wrote: > Am 07.01.2018 um 06:12 schrieb Christo: > > > > On Sun, 2018-01-07 at 05:59 +0200, Christo wrote: > > > > > > __missing_command_FPCMAKE -p -Tavr-embedded Makefile.fpc > > Adding fpc_baseinfo to the make command revealed that FPCMAKE was not > > defined (I guess it > > should > > have been obvious from the error message in the first place). I added the > > path to fpcmake > > (FPCMAKE=path_to_fpcmake) to the make command line and the tests are now > > running. > Do you have an fpcmake somewhere in your path? No, I uninstalled fpc and run from compiled source. At some point I had version conflicts when building trunk and now I run everything from the fpc source folder. The downside is that sometimes utilities aren't where they are expected, like in this case. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Error when trying to make tests for target AVR
Am 07.01.2018 um 06:12 schrieb Christo: > On Sun, 2018-01-07 at 05:59 +0200, Christo wrote: >> __missing_command_FPCMAKE -p -Tavr-embedded Makefile.fpc > > Adding fpc_baseinfo to the make command revealed that FPCMAKE was not defined > (I guess it should > have been obvious from the error message in the first place). I added the > path to fpcmake > (FPCMAKE=path_to_fpcmake) to the make command line and the tests are now > running. Do you have an fpcmake somewhere in your path? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Error when trying to make tests for target AVR
On Sun, 2018-01-07 at 05:59 +0200, Christo wrote: > __missing_command_FPCMAKE -p -Tavr-embedded Makefile.fpc Adding fpc_baseinfo to the make command revealed that FPCMAKE was not defined (I guess it should have been obvious from the error message in the first place). I added the path to fpcmake (FPCMAKE=path_to_fpcmake) to the make command line and the tests are now running. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
[fpc-pascal] Error when trying to make tests for target AVR
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? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal