[fpc-devel] Error building xtensa rtl

Michael Ring mail at michael-ring.org
Sun Apr 19 14:16:24 CEST 2020

doesn't it make sense to also include subarchs in xtensa-freertos?

diff --git a/utils/fpcm/fpcmake.ini b/utils/fpcm/fpcmake.ini
index 16396ca921..9151c09021 100644
--- a/utils/fpcm/fpcmake.ini
+++ b/utils/fpcm/fpcmake.ini
@@ -295,6 +295,13 @@ endif
  override FPCOPT+=-Cp$(SUBARCH)

+ifeq ($(FULL_TARGET),xtensa-freertos)
+ifeq ($(SUBARCH),)
+$(error When compiling for xtensa-freertos, a sub-architecture (e.g. 
SUBARCH=lx106 or SUBARCH=lx6) must be defined)
+override FPCOPT+=-Cp$(SUBARCH)

Am 19.04.20 um 13:23 schrieb Florian Klämpfl:
> Am 01.04.20 um 18:58 schrieb Christo Crause via fpc-devel:
>> I directly edited the makefile to demonstrate the principle. In 
>> addition to a change to makefile.fpc an update to fpcmake.ini is also 
>> required, see attached fpcmake.patch
> I committed the SUBARCH changes.
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

More information about the fpc-devel mailing list