Page 1 of 1

Turbo Pascal

Posted: Fri Mar 10, 2006 7:45 am
by Okefenokee
Hi, All,

I currently have to switch back to good old Turbo Pascal 7.01 for an embedded project. I would love to use Zeus as a Windows IDE. Now, I find it a little hard to set up Zeus for this, I get as far as to compile correctly, but all other features fail. The Help doesn't really tell how to set Zeus up for a new language (well, it does Pascal, but a different compiler). Can anybody help with a recipe? I cannot really afford to spent too much time figuring it out myself, but going back to the TP DOS-IDE is not my preferred option either.

Thank you and regards from Berlin.

J?rg

More Specific - More General...

Posted: Fri Mar 10, 2006 7:50 pm
by Okefenokee
Ok, wording it more generically: How do I go about to register Compiler XYZ with Zeus IDE? I found entries for compiler under Compiler-Options and Workspace-Options. What about Debugging etc. I cannot find anything in the help for that.

Maybe this sparks off some response...

Thank you all,

J?rg

Posted: Fri Mar 10, 2006 11:12 pm
by jussij
Ok, wording it more generically: How do I go about to register Compiler XYZ with Zeus IDE?

Here is information on how to setup a compiler: http://www.zeusedit.com/forum/viewtopic.php?t=32

Here is a lot more information on the Zeus configuration model: http://www.zeusedit.com/forum/viewtopic.php?t=201
I found entries for compiler under Compiler-Options and Workspace-Options. What about Debugging etc. I cannot find anything in the help for that.
For information on how to use the debugger use the Start button, Program, Zeus for Windows, Tutorials menu.
Maybe this sparks off some response...
As a language neutral IDE, Zeus comes pre-configured for no compilers, but is capable of being configured for almost any compiler :)

But the down side to this generic behaviour is Zeus expects the user to do all the configuration :(

Zeus provides many more options when it comes to running tools, compilers and linkers, and at first this configuration can seem a little daunting. But if you take a little time to get a feel for the Zeus configuration model, the task should become clearer ;)

Cheers Jussi

Getting there (slowly)...

Posted: Sat Mar 11, 2006 6:07 am
by Okefenokee
Hi, thank you for the reply. Yes, I have found those two docs and I got the compiler working o.k. now. You are perfectly right with your statement about language neutrality and the conf. requirements. I guess I was hoping that users of Zeus would provide a kind of database with their personal configurations, surely somebody has already used it for TP.

Things that I need to work out now is how to run the program from within, debug etc.

I shall keep you posted on my progress. Otherwise a great tool, it feels nice and is such a relief to working with a DOS IDE again.

Cheers, J?rg

Posted: Sat Mar 11, 2006 11:45 pm
by jussij
Things that I need to work out now is how to run the program from within, debug etc.
One thing to note is the Zeus internal debugger feature is a wrapper around the GNU gdb debugger so your Turbo Pascal debugger will not work with this feature :(

But you are still left with two other debug options.

The first option would be to enter the debugger command line into the debugger section of the workspace but disable the internal debugger.

The second option would be to setup a tool menu item to start the external Turbo Pascal debugger.

NOTE: Zeus has a macro tag feature which is specifically there to help with the defining of command lines. For more details on what are macro tags search the Zeus help for macro tags.

Cheers Jussi