<div dir="ltr"><div>When building the xtensa rtl with <br></div><div><br></div><div>make rtl FPC=~/fpc/3.3.1/compiler/ppcrossxtensa CROSSOPT=-Cacall0 CPU_TARGET=xtensa OS_TARGET=embedded SUBARCH=esp8266 BINUTILSPREFIX=xtensa-lx106-elf-</div><div><br></div><div>the following errors are returned by as:</div><div>/home/christo/fpc/3.3.1/rtl/units/xtensa-embedded/system.s: Assembler messages:<br>/home/christo/fpc/3.3.1/rtl/units/xtensa-embedded/system.s:203: Error: unknown opcode or format name 'sext'<br>/home/christo/fpc/3.3.1/rtl/units/xtensa-embedded/system.s:204: Error: unknown opcode or format name 'sext'</div><div><br></div><div>When building with CROSSOPT=-Cawindowed as complains about other errors:</div><div>/home/christo/fpc/3.3.1/rtl/units/xtensa-embedded/system.s: Assembler messages:<br>/home/christo/fpc/3.3.1/rtl/units/xtensa-embedded/system.s:11: Error: unknown opcode or format name 'retw'</div><div><br></div><div>Any tips on how to build the xtensa rtl?<br></div></div>