Author Topic: smallest LINUX that will run compiled QB64 ?  (Read 6152 times)

0 Members and 1 Guest are viewing this topic.

Offline Colonel_Panic

  • Newbie
  • Posts: 54
    • View Profile
smallest LINUX that will run compiled QB64 ?
« on: November 08, 2021, 12:53:30 am »
I mean, QB64 creates a standalone executable, a C executable.
the holy grail of linux.

question --- smallest LINUX distro anyone got QB64 executables to run on?

Offline luke

  • Administrator
  • Seasoned Forum Regular
  • Posts: 324
    • View Profile
Re: smallest LINUX that will run compiled QB64 ?
« Reply #1 on: November 08, 2021, 03:15:58 am »
If you use $console:only to remove the dependency on the various X11 and OpenGL libraries, and don't use any sound commands the binary should be able to run anywhere with a glibc that's at least as new as you had on the compiling machine.

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: smallest LINUX that will run compiled QB64 ?
« Reply #2 on: November 08, 2021, 05:10:07 am »
Luke. I think the Colonel is referring to the smallest/lightest version of Linux that a normal QB64 executable can run.

TinyCore Linux is about 21mb (including a GUI).
ArchBang Linux is about 700mb
Absolute Linux is about 2gb
Porteus is about 512mb
Puppy Linux is about 300mb (can run from a USB)
Slitaz is about 80mb
Antix is about 256mb
Bodhi Linux will run on a 500mhz machine

Has anyone tried any of these Linux flavours?
Logic is the beginning of wisdom.

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: smallest LINUX that will run compiled QB64 ?
« Reply #3 on: November 08, 2021, 05:52:35 am »
Luke. I think the Colonel is referring to the smallest/lightest version of Linux that a normal QB64 executable can run.

TinyCore Linux is about 21mb (including a GUI).
ArchBang Linux is about 700mb
Absolute Linux is about 2gb
Porteus is about 512mb
Puppy Linux is about 300mb (can run from a USB)
Slitaz is about 80mb
Antix is about 256mb
Bodhi Linux will run on a 500mhz machine

Has anyone tried any of these Linux flavours?

Just remember, it isn't just Linux you'll need, but all the dependencies as well -- opengl, g++, and all else.
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: smallest LINUX that will run compiled QB64 ?
« Reply #4 on: November 08, 2021, 07:21:18 am »
Understood. Lite version are light for a reason... lol
Logic is the beginning of wisdom.

Offline Aurel

  • Forum Regular
  • Posts: 167
    • View Profile
Re: smallest LINUX that will run compiled QB64 ?
« Reply #5 on: November 10, 2021, 03:30:41 am »
so Q4OS work as BSpinoza says
i have it installed and worked fine but somehow slow
//////////////////////////////////////////////////////////////////
https://aurelsoft.ucoz.com
https://www.facebook.com/groups/470369984111370
//////////////////////////////////////////////////////////////////

Offline Aurel

  • Forum Regular
  • Posts: 167
    • View Profile
Re: smallest LINUX that will run compiled QB64 ?
« Reply #6 on: November 12, 2021, 03:37:20 pm »
No i used KDE 3
but looks to me that older linux distro with KDE 3
are faster ..because of smaller kernel i think

just for testing you can try polippix linux which is ubuntu based
and run faster than Q4OS..it is KDE 4 i think
//////////////////////////////////////////////////////////////////
https://aurelsoft.ucoz.com
https://www.facebook.com/groups/470369984111370
//////////////////////////////////////////////////////////////////

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: smallest LINUX that will run compiled QB64 ?
« Reply #7 on: November 12, 2021, 08:01:28 pm »
Simple question that may sound silly.

What is the interest or reason for the use of "lite" distros? Is it because you want to "breath" new life into an old machine or "lite" means extra speed on a newer machine?

I can understand the use on an older machine. Slower machine. Possible hardware concerns. A smaller or "lite" version of Linux would be ideal.
Extra speed on a newer machine. Everyone wants a machine to function quickly. But, small or lite versions of Linux, are small for a reason. There has been a removal of, what the creator of the distro, would consider "clutter". But, new installs of "main stream" or "lite" version will run quite quickly... But as time passes, this or that will be installed, eventually degrading performance on either machine. If a "lite" Linux "out of the box" is all that is required, then great, you will have a machine that does what you need at a better speed than a "full" version.

Just a few thoughts. Questions? A quote from, "Monty Python and The Holy Grail"... "Go ahead Bridge Keep. Ask your questions. I'm not afraid."
Logic is the beginning of wisdom.

Offline CharlieJV

  • Newbie
  • Posts: 89
    • View Profile
Re: smallest LINUX that will run compiled QB64 ?
« Reply #8 on: November 23, 2021, 11:33:00 am »
Simple question that may sound silly.

What is the interest or reason for the use of "lite" distros? Is it because you want to "breath" new life into an old machine or "lite" means extra speed on a newer machine?


My inaugural post here.  Proper introduction later.

G'day,

Portable QB64 apps and application data.

Imagine a USB key with a version of QEMU (or whatever virtualisation software) to run a virtual computer that has just enough Linux to run QB64-built applications.

If on that USB key, I had a version of QEMU for (or whatever) for each host device and operating system I deal with.

And each version of QEMU accessed the same files on the USB key, to run that one minuscule version with my QB64 apps and related data.

Something like that.

Same could be done with a more functional version of Linux, but just enough Linux to run QB64-built apps, that would be very cool.

A minimal Linux  as a portable development tool that you can slide into your coat pocket?  I'm liking it.


Now, if only I had the time to throw myself into that project 100%.  I've got ADHD of the attention-deficiency kind (I prefer say "attention-regulation"), and I find absolutely everything interesting (i.e. "is there anything that is not a shiny object", or: "SQUIRREL!), and I've already got way too many interesting projects, not enough hours in this lifetime.

Portable and secure QB64 on a stick.  Stealthy (as in after reboot of a host computer, no trail left behind), might be just enough of a shiny object to make me forget about all else ...