set correct paths for ndll for linxuarm and linuxarm64 (raspberrypi)
and remove conflicting legacy includepaths in build.xml
These are the changes I made which allow compilation on a raspberry pi 4 or 5 running 32 or 64bit Bullseye or Bookworm (raspberrypios). A lot of the isRaspberryPi statements have been replaced by checking for Arm64 or Armv7 so that in the future other linux arm boards could be used as well. Ndlls are built in ndll/LinuxArm and ndll/LinuxArm64 instead of the previous ndll/RPi path
Old -I flags have been removed from Build.xml because they point to libraries from older OS versions and do no longer exist on bullseye and bookworm. They prevented sdl from compiling on these os versions.
Performance on older versions of the raspberrypi was poor. So I think support should be for pi4 and up only.
SDL still has pi specific code.
That's why a -Drpi flag can still be found when calling hxcpp. Otherwise a build would fail.
One important note is that for 64bit the latest (git)build of hxcpp is needed ! There is a bug in haxelibversion that caused threads to throw a bus error. This is solved in master.
set correct paths for ndll for linxuarm and linuxarm64 (raspberrypi) and remove conflicting legacy includepaths in build.xml
These are the changes I made which allow compilation on a raspberry pi 4 or 5 running 32 or 64bit Bullseye or Bookworm (raspberrypios). A lot of the
isRaspberryPi
statements have been replaced by checking for Arm64 or Armv7 so that in the future other linux arm boards could be used as well. Ndlls are built in ndll/LinuxArm and ndll/LinuxArm64 instead of the previous ndll/RPi pathOld -I flags have been removed from Build.xml because they point to libraries from older OS versions and do no longer exist on bullseye and bookworm. They prevented sdl from compiling on these os versions. Performance on older versions of the raspberrypi was poor. So I think support should be for pi4 and up only.
SDL still has pi specific code. That's why a -Drpi flag can still be found when calling hxcpp. Otherwise a build would fail.
One important note is that for 64bit the latest (git)build of hxcpp is needed ! There is a bug in haxelibversion that caused threads to throw a bus error. This is solved in master.