Is it possible to generate the C source created by pbcompiler?
I am writing programs on Bullseye and then running on stretch (its like an embedded system so no easy way to upgrade).
Basic console exe work great however if I am linking to libs such a pigpio they get tied to a later version of GLIBC and having the C output would mean I could compile on the target OS.
I've looked at the docs for pbcompile but when ran manually it complains
Code: Select all
pi@raspberrypi:~/Downloads/purebasic/compilers $ ./pbcompiler -c /tmp/PB_EditorOutput.pb
PureBasic 6.00 Beta 1 - C Backend (Linux - arm32)
Loading external modules...
Error: Can't load OS libraries, please re-install PureBasic.