Thanks this was what I was thinking. But I could not remember the compile commands
JB Rob Kudla wrote: > > On Saturday 04 April 2009 16:02, jbskaggs wrote: >> I am working a game maker program- and I am trying to determine my next > > This sounds like a good idea, since Linux doesn't have too many tools like > this and I don't think any are free software. > >> What I want to do is have my program write all the code into a class >> file and then shell to Gambas load the file compile, make exec and >> package. >> >> IS there a way to do this in my program at runtime or does this have to >> be done in the Gambas IDE Console only? > > Some of it can be done pretty easily through shell commands. You generate > your Gambas project (I think it needs to be a whole project, including > a .project file, not just a class file), then change to that directory and > run these commands: > > gbc2 > gba2 > > gbc2 compiles the project, gba2 makes the executable. > > However, building packages is another story. You may want to try to copy > the package building code out of the Gambas IDE and integrate it into > yours... or maybe work on making it into a component to be used by all > Gambas programs. > > Rob > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://www.nabble.com/A-way-to-compile%2C-make-exec%2C-and-create-package-from-outside-IDE--tp22887283p22887920.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user