Welcome, Guest. Please login or register.

Author Topic: C++ on Amiga  (Read 21979 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline EDanaII

  • Hero Member
  • *****
  • Join Date: Dec 2006
  • Posts: 579
    • Show all replies
    • http://www.EdwardGDanaII.info
Re: C++ on Amiga
« on: December 07, 2012, 12:00:36 AM »
@ andst
Quote
What about tools and compilers, IDE:s, SDK, debuggers, etc? Are they sufficiently up to date and on par with other platforms, or do people miss any significant features?


I've tried many of them, from SasC, to Storm and Cubic on the Amiga. SasC and Storm come with debuggers, but I've only had luck with the Storm one. Like NovaCoder, I've had the most success using a GCC in conjunction with Eclipse, but, sadly, no debugger for it, although it may be possible to set up a remote debugger. I'm still figuring that one out.


@ NovaCoder
Quote
Any 'modern' Amiga 68k targeted C/C++ development is very hard to do, the tools are just not up to the job. I once spent weeks trying to debug a nasty memory related issue while porting ScummVM to 68k, this issue only seems to effect the 68k version of gcc and in any case, if I'd had a debugger I could have fixed the problem in about 5 seconds flat.


It may be possible to do remote debugging with Eclipse. I'm currently researching how it might be done. The tools appear to be there, so I'm just not certain how to set them up or if they will play well together yet.

I've opened up a query over on the new meant-to-be-a-Utilitybase-replacement forum. Anybody who has any ideas is welcome to comment either here or there on the subject.
Ed.
 

Offline EDanaII

  • Hero Member
  • *****
  • Join Date: Dec 2006
  • Posts: 579
    • Show all replies
    • http://www.EdwardGDanaII.info
Re: C++ on Amiga
« Reply #1 on: December 07, 2012, 11:01:16 PM »
Quote
Yep I did manage to get Eclipse CDT 'working' using the AmiDevCpp cross compiler setup. It managed to compile some of my project then started giving me errors about missing includes that were actually there. I've now gone back to AmiDevCpp which may not have as many features as Eclipse CDT but at least it works. I also tried CubicIDE and got nowhere, pain in the bottom.


What types of projects are you talking about? I have some issues with some projects started in other tools not compiling, and with MUI apps, including any I start, but my other projects compile consistenly with only minor issues.

Quote
I think it may be possible to hack in the gcc debugger to work from the shell but I doubt you'd be able to integrate it to CDT.


I'm not talking about integrating anything with the CDT. :) I'm talking about using the CDT's remote debug capabilities to listen for either GdbStop or GdbServer on the target machine. Like I said, I /think/ it's possbile, but without trying, there's no way to know for sure.

Quote
Trying to do any large scale C/C++ development without a debugger is like trying to fly a plane at night......with your eyes shut


Yea. Exactly why I'd like to find out if it's possible. :D
Ed.