RetroBASIC
Basicprogramming(.org) => SmallBASIC => Topic started by: chrisws on June 13, 2019, 11:00:57 AM
-
I'm bringing back the old FLTK version!
This is now based on the 1.4 stream, their current development branch. It's working pretty well but I still prefer the SDL version lol.
-
Are there any downloads available, yet?
-
There are no builds yet. It would be good to make github somehow auto-magically do that for me.
-
Yes, but via the source code? On github the last code update is 6 months ago. Is it already with FLTK support?
-
The code is currently in a different repository. I'll merge it to the main location soon.
-
Okay it's there now.
To build you'll first need to get FLTK 1.4. The easiest way is;
git clone https://github.com/fltk/fltk.git
Then to build the FLTK version of SmallBASIC
./configure --enable-fltk
make -s
It shouldn't take you too long to find some issue, so please let me know how you go
Cheers,
Chris
-
That worked fine. Although I would recommend to add a
-no-pie
to the compiler flags for Linux (Ubuntu solely?), so a real executable is compiled. Not all desktop environments let you execute the "LSB shared object".
Compiled without "-no-pie":
ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=3a8544db55e8ddc0bbc212e66345bafb9403aa43
Compiled with "-no-pie":
ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=6ce37a2197678fd2b726cc0d2929366ff4f6ec4a, for GNU/Linux 3.2.0