[Gambas-user] gambas 100% CLI: is it possible?
roberto.premoli at tiscali.it
Fri Oct 25 11:38:59 CEST 2019
On 25/10/19 08:14, jose.rodriguez at cenpalab.cu wrote:
> 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.
thanks to both of you for explain me and indicate the command to be used
By the way, i can do the first develop on desktop X86 for logistic
reason (faster cpu, ecc), then port the source code on ARM board, does
the necessary adjustments and then recompile natively on for ARM.
Once again thanks, all of you.
More information about the User