Hi,
x11-basic doesn't work on 64-bit platforms (x86_64, aarch64), mostly because it makes lots of assumptions about sizeof(int) being the size of a pointer.
The patch I'm attaching gets the basics up (stuff like a$="Windows sucks"; print a$ works), but still crashes when some functions (e.g. replace$("Windows sucks", "Windows", "Apple")) are invoked.
Initial 64bit support patch
Ho bero, many thanks. Ill take this patch, unfortunately I checked this bug report only today, and the sources have already been changed. Do you have the full modified .c and .h files? I think I need to patch it manually now.
regards Kollo
I merged the patches to the sources 1.19 (file now in repository). I have not changed everything to long. E.g. the return values from f_xxx() functions are still int. If they become long, but the excecution code expects int, it is still a conflict and will not work. The problem remains: X11-basic uses 32 bit integers and all functions returning adresses will not work correctly.