[Gambas-user] gambas 100% CLI: is it possible?

jose.rodriguez at cenpalab.cu jose.rodriguez at cenpalab.cu
Fri Oct 25 08:14:30 CEST 2019


On 2019-10-25 02:03, Christof Thalhofer wrote:
> Am 25.10.19 um 00:47 schrieb roberto:
> 
>> So, i ask if it is possible in gambas to write, compile and package a
>> program using only the command line.
> 
> It is possible, but not convenient. In theory you can write the program
> with Vim, then compile it with:
> 
> gbc3 -a /path/to/sourcedir
> 
> Then pack and create the executable with:
> 
> gba3 -o /path/to/sourcedir/progname.gambas /path/to/sourcedir
> 
> Then install it as root:
> 
> cp /path/to/sourcedir/progname.gambas /usr/bin/progname.gambas
> 
>> In alternative, maybe i can install GUI and use remote desktop from
>> another PC, but it will be a bad workaround i prefere to avoid.
> 
> I would try to use the IDE to create the project itself and its files
> and directory structure as a command line project on a X86 computer.
> 
> You can also compile it on the X86 computer and the copy to and run the
> Gambas executable on the ARM computer. This is what I do with some
> programs that run on a Raspberry Pi.
> 

Ok, I obviously didn't read the original email carefully enough. I 
figured like Christof that development would be on a PC and the 
executable copied over to the arm board, which explains my answer about 
the Gambas IDE, sorry about that. Thanks, Christof, for a more complete 
reply.

Regards,
Joe1962


More information about the User mailing list