Running a different IDE?

Previous topic - Next topic

FutureCow

Is it possible to run another IDE with GLBasic? It appears that the current one just calls G++ with arguments to generate the code and run it.

Is it possible to share what is being run when you hit "compile" so that I could see if I can get it to run from a different IDE?

There are two reasons for this
1) I'd like to use an IDE that supports code folding and a couple of other things the current one doesn't support at the moment
2) Just because it's an interesting thing to do :D

Kitty Hello

Not possible. The IDE is responsible for making the copy protection.
As this issue rises every now and then, I think about making the GPC perform the compile work, too. So I can seperate IDE and compiler at one point.


FutureCow

No problem - I respect your need for your copy protection and no desire to do anything that would compromise it. It would be good to be able to use some of the functions in alternate IDEs at some point in the future.

A month or two ago when I had an error the compile process stopped after the code had been converted to C code. Purely for curiosity reasons, is there a way to get it to stop at that point to see what the code looks like after the changes? I find the whole compilation process fascinating! No stress if it's not an easy thing to do.

Thanks for replying Gernot!

Kitty Hello

OK, you can do it like this:
Open the GLBAsic IDE, then gather the project file (gbas) in your project and make sure the main source is first.
Then close all source files in the project, and only use the IDE for start/stop. Debugging won't be possible with another IDE anyhow.

You can then alter the source files with another Editor. Just be sure to save before you Alt-Tab to GLBasic editor and press F5 to compile+run.

The compilation files are in %TEMP%\glbasic and will not be deleted. In the GLBasic IDE you can double click on an error (even GCC errors) and get to the source code. That's not working for libraries, tough, but who cares.