[fpc-devel] latest trunk does not compile for armv6m embedded

2020-04-19 Thread Michael Ring via fpc-devel
Building for armv6m does not work, building for armv7m/em is fine:  make clean buildbase CROSSINSTALL=1 OS_TARGET=embedded CPU_TARGET=arm SUBARCH=armv6m /Library/Developer/CommandLineTools/usr/bin/make rtl_all FPC=/Users/ring/devel/fpc/compiler/ppcrossarm

Re: [fpc-devel] Fpcupdeluxe utilities to share

2020-04-19 Thread Florian Klämpfl
Am 17.04.20 um 08:11 schrieb Alfred: Hello to all, As you might know, I am the maintainer of fpcupdeluxe. Its a tool to install FPC and Lazarus. And to install cross-compilers. Intro. As part of fpcupdeluxe, binutils (and libs) are created/hosted to be able to cross-compile from various

Re: [fpc-devel] latest trunk does not compile for armv6m embedded

2020-04-19 Thread Florian Klämpfl
Am 19.04.20 um 10:45 schrieb Michael Ring via fpc-devel: Building for armv6m does not work, building for armv7m/em is fine: Thanks for noticing. Fixed. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

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

2020-04-19 Thread Florian Klämpfl
Am 06.04.20 um 20:54 schrieb Michael Ring via fpc-devel: I was able to compile my first hello world for esp32, however I had to patch a few files so that compiling works for 4.0 / 4.1 Branch of esp-idf Florian, can you please have a look at the patches and apply them if they are OK? I have

Re: [fpc-devel] FPC and Z80

2020-04-19 Thread Florian Klämpfl
Am 16.04.20 um 11:04 schrieb Guillermo: Thanks Swen. I see last commit was 2 days ago so it is active. I would like to know who is responsible to speak to him. May be I can help with the MSX target, but I need gidance about the internals of the compiler (I tried but it is beyond my

Re: [fpc-devel] latest trunk does not compile for armv6m embedded

2020-04-19 Thread Michael Ring via fpc-devel
Working again, thank you! Am 19.04.20 um 13:05 schrieb Florian Klämpfl: Am 19.04.20 um 10:45 schrieb Michael Ring via fpc-devel: Building for armv6m does not work, building for armv7m/em is fine: Thanks for noticing. Fixed. ___ fpc-devel maillist 

Re: [fpc-devel] Error building xtensa rtl

2020-04-19 Thread Michael Ring via fpc-devel
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)  endif +ifeq

Re: [fpc-devel] Error building xtensa rtl

2020-04-19 Thread 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.

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

2020-04-19 Thread Michael Ring via fpc-devel
Thanks! Your commit is close, but not yet there... to make it work it was necessary for me to re-create the Makefiles, arm-freertos was missing in the root makefile and some others, did you rebuild fpcmake before using it? You also did not include the rtl/freertos/arm directory (I guess on

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

2020-04-19 Thread Florian Klämpfl
Am 19.04.20 um 17:25 schrieb Michael Ring via fpc-devel: I have uploaded  my patch to: http://temp.michael-ring.org/fpc-arm-freertos.patch I have committed it with a few changes, let's see how it works :) ___ fpc-devel maillist -

Re: [fpc-devel] FPC and Z80

2020-04-19 Thread Joao Schuler
I think that you'll find some interesting links on this thread: https://forum.lazarus.freepascal.org/index.php/topic,38569.msg262288.html#msg262288 ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

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

2020-04-19 Thread Michael Ring via fpc-devel
I have uploaded  my patch to: http://temp.michael-ring.org/fpc-arm-freertos.patch I have left out the generated Makefiles to keep the patch (kind of) readable. I am able to build the target like this: make -j clean buildbase CROSSINSTALL=1 OS_TARGET=freertos CPU_TARGET=arm SUBARCH=armv7em

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

2020-04-19 Thread Florian Klämpfl
Am 19.04.20 um 17:25 schrieb Michael Ring via fpc-devel: I have uploaded  my patch to: http://temp.michael-ring.org/fpc-arm-freertos.patch Thanks, I'll look into it. I have left out the generated Makefiles to keep the patch (kind of) readable. I am able to build the target like this: