compiling Aztec C in current IDE

Please support our C advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Dec 2008
Posts: 24
Reputation: GadiK is an unknown quantity at this point 
Solved Threads: 0
GadiK GadiK is offline Offline
Newbie Poster

compiling Aztec C in current IDE

 
0
  #1
Oct 21st, 2009
Hi. I'm trying to debug a program that was written in Aztec C.
I would like to use a familiar environment like VS2005.
Is there any way to make VS2005 use the Aztec C compiler commands (from Aztec BIN folder)?

If not VS2005, is there some way I can debug the program?
I can use the command prompt to compile the files, but I'm looking for a visual debugging tool.

Thank you
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 681
Reputation: Tom Gunn has much to be proud of Tom Gunn has much to be proud of Tom Gunn has much to be proud of Tom Gunn has much to be proud of Tom Gunn has much to be proud of Tom Gunn has much to be proud of Tom Gunn has much to be proud of Tom Gunn has much to be proud of Tom Gunn has much to be proud of Tom Gunn has much to be proud of 
Solved Threads: 132
Tom Gunn's Avatar
Tom Gunn Tom Gunn is offline Offline
Practically a Master Poster
 
0
  #2
Oct 21st, 2009
Is there any way to make VS2005 use the Aztec C compiler commands (from Aztec BIN folder)?
No, but if the code does not rely on extensions to the language/library by Aztec C, you can probably port the code to VS2005 without much trouble. I am not sure if the code you want to debug is pre-standard or not, but VC does allow K&R style code still, so that should not be a huge problem.

If not VS2005, is there some way I can debug the program?
Most debuggers will not care what compiler compiled the executable, but you will not get pretty source level information. That will make debugging harder.
-Tommy (For Great Justice!) Gunn
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 24
Reputation: GadiK is an unknown quantity at this point 
Solved Threads: 0
GadiK GadiK is offline Offline
Newbie Poster
 
0
  #3
Oct 21st, 2009
Thank you for the answer.
I will explain further what I have and need.

The program I have is largely Aztec C code but there is an Assembly part which constructs the OS (it's from the 80's when people wrote their own OS).

I have successfully compiled the code using Aztec C compiler (3.4 from http://www.aztecmuseum.ca/compilers.htm). The program is working and running.

Now I want to study the code and I would like to use a contemporary debugging tool to do so. Is there some IDE out there that will allow me to run a third party compiler and then use the debug tool?

Or is there another solution for me?

Thank you
Last edited by GadiK; Oct 21st, 2009 at 10:32 am.
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 681
Reputation: Tom Gunn has much to be proud of Tom Gunn has much to be proud of Tom Gunn has much to be proud of Tom Gunn has much to be proud of Tom Gunn has much to be proud of Tom Gunn has much to be proud of Tom Gunn has much to be proud of Tom Gunn has much to be proud of Tom Gunn has much to be proud of Tom Gunn has much to be proud of 
Solved Threads: 132
Tom Gunn's Avatar
Tom Gunn Tom Gunn is offline Offline
Practically a Master Poster
 
0
  #4
Oct 21st, 2009
As I said, you can use any debugger you want. But if there is no debug information, you will not get source code matching, just a disassembly. The debug information comes from the compiler, which is why matching the compiler and debugger makes life easier.

Your options have not changed:
  • Port the code to another compiler and use the paired debugger.
  • Use any debugger you want and work with the assembly listing.
  • Use the debugger that came with Aztec C in an emulator, if there is one.
-Tommy (For Great Justice!) Gunn
Reply With Quote Quick reply to this message  
Reply

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC