[Linux] C backend confusion / segfault
Posted: Wed Sep 25, 2024 3:15 am
Still experimenting with PB 6.12 x64 on ElementaryOS 7.1 (Ubuntu 22)... enjoying it very much!
I'm a bit confused about the C backend though, which I have only used on Windows before.
In PB 6.12 IDE, compiling and running on Elementary works fine, but in the compile options it only shows one compiler option "PureBasic 6.12 LTS (Linux - x64)" - which seems to be the ASM backend (matches #PB_Backend_Asm). No C backend listed. Why might that be?
Furthermore... from the terminal in "purebasic/compilers/" directory, I can't run ./pbcompiler or ./pbcompilerc from the commandline, both print "Segmentation fault" - Why might that be??? Somehow the compiler runs OK from the IDE!
Any suggestions, PB Linux users?
I'm a bit confused about the C backend though, which I have only used on Windows before.
In PB 6.12 IDE, compiling and running on Elementary works fine, but in the compile options it only shows one compiler option "PureBasic 6.12 LTS (Linux - x64)" - which seems to be the ASM backend (matches #PB_Backend_Asm). No C backend listed. Why might that be?
Furthermore... from the terminal in "purebasic/compilers/" directory, I can't run ./pbcompiler or ./pbcompilerc from the commandline, both print "Segmentation fault" - Why might that be??? Somehow the compiler runs OK from the IDE!
Any suggestions, PB Linux users?