[Gambas-user] Why can't I create native executables?

T Lee Davidson t.lee.davidson at gmail.com
Sat Nov 18 15:02:53 CET 2023


On 11/18/23 07:34, Bruce Steers wrote:
> 
> 
> On Sat, 18 Nov 2023, 11:25 Филипп Друан via User, <user at lists.gambas-basic.org <mailto:user at lists.gambas-basic.org>> wrote:
> 
>     Hi there!
>     I'm a bit frustrated that you can't create an executable in Gambas that
>     doesn't need an interpreter. Why wasn't this feature added? 
> 
> 
> Yes Benoit couldn't you just add that feature?  Maybe before lunch? 😂

I'm fairly certain that Филипп did not think that making Gambas compile native executables would be a trivial task. From what I 
can tell, he is new to Gambas, and, for all we know, may be new to programming. I think beginner programmers should be 
encouraged, not mocked. I assume you would agree.

[snip]> The gambas source code if freely available and easy to modify, so download it and see if you can add the required 
features you want.
[snip]

If it were only that simple. Having the source available is one of the great benefits of open-source software. But, compiling to 
native executables is not a feature of an interpreter.

Philippe (if I may use the English version of your name), if you need or strongly desire a BASIC compiler, you may want to take 
a look at FreeBasic, https://www.freebasic.net/.


-- 
Lee



More information about the User mailing list