[fpc-devel] Problems building xtensa-freertos RTL in trunk

Christo Crause christo.crause at gmail.com
Sat Apr 4 16:06:47 CEST 2020

I'm keen to test the xtensa-freertos target, but it seems there are a
couple of patches missing from trunk.

It is possible to build an xtensa cross compiler, but the make files
doesn't know the xtensa-freertos target. To get the make files in rtl
updated, one needs to rebuild fpcmake, edit rtl/MakeFile.fpc and add
"dirs_freertos=freertos" to the target list, then run fpcmake. At this
point the the following make command proceeds up to sysutils:
make rtl FPC=~/fpc/3.3.1/compiler/ppcrossxtensa CPU_TARGET=xtensa
OS_TARGET=freertos BINUTILSPREFIX=xtensa-esp32-elf-

where the following errors crop up:
syssbh.inc(43,41) Error: Identifier not found "Double"
syssbh.inc(49,41) Error: Identifier not found "Single" etc.

I trust someone (Florian...) has a working build?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20200404/ed110aa9/attachment.html>

More information about the fpc-devel mailing list