Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
<solved> QB64 without its IDE GUI ?
#3
(01-06-2023, 11:15 PM)mnrvovrfc Wrote: The code for the IDE isn't included in an user's program's executable file, what made you think that it was?

The QB64 IDE was meant for somebody to start straight away to program instead of having to install Geany, NPPP or some other program like that. People have been crying for an IDE for Freebasic that comes directly from those developers. "Where's the blue screen?" I wince everytime I read that from the Freebasic help file.

You will have to look into that other system instead and forget about QB64PE having a "headless" version. Although this is only an opinion.

Even if there was a "QB64 without GUI" thing, it wouldn't be officially supported by the Phoenix Team or by the "qb64-dot-com" folks and you, or anybody else that decided to depend on that project, would be entirely at the mercy of that program's development. Generally it means becoming one of the dedicated contributors.

About making executable files smaller, just give up with 64-bit. When we all have to move up to 128-bit or something like that, even more memory will be required for everything. The "keep it small" mentality that is enforced by 16-bit has to be ditched in favor of progress. Some people aren't going to like it.

The "keep it small" means QB64PE would have to turn into a payware project that resembles M$ Visual Studio in its early versions. In other words, a compiler that directly takes BASIC code, creates object files, combines them with stuff taken from libraries and spits out an EXE file or a Unix-like executable file. Freebasic is close to that reality. QB64(PE) have different goals to set.

I know you don't like me correcting you @mnrvovrfc, but you're wrong here.  The IDE is completely separate from the core part of QB64.  If one wants a version of QB64 without the IDE anywhere in the source, all they have to do is go into QB64PE.bas and remark out or remove the two $INCLUDE lines that add in the IDE.

At lines 33 & 34:
Code: (Select All)
'-------- Optional IDE Component (1/2) --------
'$INCLUDE:'ide\ide_global.bas'

At the very last lines in qb64pe.bas:
Code: (Select All)
'-------- Optional IDE Component (2/2) --------
''$INCLUDE:'ide\ide_methods.bas'

Remark those out/remove them.  Recompile to a new version of qb64pe, and you now have a version with absolute no IDE attached to it.

Now as to WHY you'd want a version without the IDE....  I dunno!!  All you're doing is stripping out the possibility of using the IDE if you ever decide to, but it won't affect the EXE you create from the command line in any way whatsoever.  We don't put the IDE into your compiled code.  We never have.  

I honestly can't see any reason why someone would want a version without that option, but if they do, then that's all it is for them to make the changes and make one.  /shrug
Reply


Messages In This Thread
<solved> QB64 without its IDE GUI ? - by Fifi - 01-06-2023, 06:32 PM
RE: QB64 without its IDE GUI ? - by mnrvovrfc - 01-06-2023, 11:15 PM
RE: QB64 without its IDE GUI ? - by SMcNeill - 01-07-2023, 12:31 AM
RE: QB64 without its IDE GUI ? - by Fifi - 01-08-2023, 09:02 AM
RE: QB64 without its IDE GUI ? - by mnrvovrfc - 01-07-2023, 03:35 AM
RE: QB64 without its IDE GUI ? - by aurel - 01-07-2023, 12:56 PM
RE: QB64 without its IDE GUI ? - by Fifi - 01-09-2023, 08:21 AM
RE: QB64 without its IDE GUI ? - by Coolman - 01-09-2023, 08:09 PM
RE: QB64 without its IDE GUI ? - by Fifi - 01-13-2023, 01:34 PM
RE: QB64 without its IDE GUI ? - by mnrvovrfc - 01-08-2023, 10:04 AM
RE: QB64 without its IDE GUI ? - by Fifi - 01-08-2023, 09:40 PM
RE: QB64 without its IDE GUI ? - by mnrvovrfc - 01-08-2023, 10:08 PM
RE: QB64 without its IDE GUI ? - by Fifi - 01-08-2023, 10:32 PM
RE: QB64 without its IDE GUI ? - by SMcNeill - 01-09-2023, 12:28 AM
RE: QB64 without its IDE GUI ? - by Fifi - 01-09-2023, 10:11 AM
RE: QB64 without its IDE GUI ? - by SMcNeill - 01-09-2023, 11:52 AM
RE: QB64 without its IDE GUI ? - by Fifi - 01-09-2023, 12:22 PM
RE: <solved> QB64 without its IDE GUI ? - by Jack - 01-13-2023, 02:01 AM
RE: <solved> QB64 without its IDE GUI ? - by Jack - 01-13-2023, 03:08 AM
RE: <solved> QB64 without its IDE GUI ? - by Jack - 01-13-2023, 04:45 AM
RE: <solved> QB64 without its IDE GUI ? - by Fifi - 01-14-2023, 07:13 AM



Users browsing this thread: 5 Guest(s)