#8 64-bit support

v1.0 (example)

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.


  • Markus Hoffmann

    Markus Hoffmann - 2012-11-05

    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

  • Markus Hoffmann

    Markus Hoffmann - 2012-11-05
    • status: open --> open-accepted
  • Markus Hoffmann

    Markus Hoffmann - 2012-11-05

    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.

  • Markus Hoffmann

    Markus Hoffmann - 2013-09-04
    • status: open-accepted --> closed-fixed
    • Group: --> v1.0 (example)

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks