Amiga.org

Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: Heiroglyph on August 18, 2011, 07:24:55 PM

Title: Best C IDE?
Post by: Heiroglyph on August 18, 2011, 07:24:55 PM
I'm looking at StormC 4 or CubicIDE right now, but I'm open for other suggestions.

What I'm hoping to find:

Good project management besides hand tweaking makefiles would be awesome.  Some of my projects get pretty large as in multiple libraries and executables, so the more of the project I can have an overview of, the better.

A decent compiler.  So far I'm more impressed with the code vbcc puts out than I am with gcc2 or gcc4, but you pretty much have to use gcc sometimes.  I have old projects using SAS/C too, but I'd rather switch to something newer and better if possible.

I hear that StormC has some source level debugging capability, not sure how much or what CubicIDE may have.

A better selection of project presets than AmiDevCPP has would be nice too.  I don't always want to do everything by hand just for one-off test code and I'm spoiled to Visual Studio ;)

Thanks for any suggestions.
Title: Re: Best C IDE?
Post by: SamuraiCrow on August 18, 2011, 08:24:11 PM
The Amiga version of GDB is buggy no matter which IDE you use.  (It can't find the globals.)

If you can wait a while, it might be better to develop on AROS 68k and then run its version of GCC with debugger and then use ELF2HUNK on the executables to make them run on real AmigaOS.  (I think Jason McMullan said he was going to write that utility.)  Annotate isn't an IDE but it is a nice syntax-highlighting editor.
Title: Re: Best C IDE?
Post by: yakumo9275 on August 18, 2011, 08:26:00 PM
for on amiga or for crossdev? I use slickedit on my linux box and point it to vbcc, thats how I'm currently trying to do some miggy C dev, then I push it up in euae for quick turnaround/basic testing
Title: Re: Best C IDE?
Post by: ChaosLord on August 18, 2011, 08:33:05 PM
I am on hardcore painkillers right now so my brain is very fuzzy.
Doesn't Cubic work with SASC?

If u like Cubic and u r already comfortable with SASC then why not go for that?

Quote
A decent compiler.
With those words you just banned yourself from GCC and StormC.  Feel free to pick any of the others that makes you happy. :)
Title: Re: Best C IDE?
Post by: Kronos on August 18, 2011, 08:59:11 PM
If you want to code ON Amiga Cubic is they way to go, no matter which compiler you end up useing (SAS,vbcc and gcc are all supported),
Title: Re: Best C IDE?
Post by: jm4n on August 18, 2011, 09:09:59 PM
Hi,

just a couple of days ago I've stumbled upon this interesting guide oriented to those starting with Amiga programming. There are some interesting thoughts and it's not so outdated.

Source is through SVN at the following address:
http://guidetoamigacompatibleprogramming.googlecode.com/svn/trunk

hth
Title: Re: Best C IDE?
Post by: Heiroglyph on August 18, 2011, 10:31:30 PM
I'm hoping to get back ON the Amiga.  I'm using AmiDevCpp right now, but I'd just rather be on the target system.

So maybe StormC is out of the running, I thought it could also use other compilers.

So any criticisms or concerns on CubicIDE?
Title: Re: Best C IDE?
Post by: TheGoose on August 18, 2011, 11:30:34 PM
Subscribing...
Title: Re: Best C IDE?
Post by: EDanaII on August 19, 2011, 12:59:36 AM
Speaking for myself, I've had better luck coding with StormC than Cubic. Your mileage may vary. :)
Title: Re: Best C IDE?
Post by: Heiroglyph on August 19, 2011, 01:31:54 AM
Quote from: EDanaII;655281
Speaking for myself, I've had better luck coding with StormC than Cubic. Your mileage may vary. :)


Since you seem to be the new point of view, how would you compare them?  What makes StormC your choice?


I just installed the Cubic demo on UAE.  It's easier to delete the HDF than to remove/reinstall if I don't like it.

I figure that if I hit the 500 line limit and I still like it, then I'll order it.
Title: Re: Best C IDE?
Post by: Heiroglyph on August 19, 2011, 02:37:22 AM
500 lines is WAY too short to get an idea of what the IDE is like.

Yeah, you can sort of test the editor and super simple hello world stuff, but you can't do much of anything.  I have no idea how it will handle larger projects, which is one of my problems.

So much for the demo.
Title: Re: Best C IDE?
Post by: EDanaII on August 19, 2011, 05:25:11 AM
Quote from: Heiroglyph;655282
Since you seem to be the new point of view, how would you compare them?  What makes StormC your choice?


It was just easier to figure out how to use. I have full licenses for both and it was a struggle for me to learn how to use Cubic.

Mind you, I don't use either heavily, just don't always have the time to, but I found StormC easier to use.

And, like you, I'm, unfortunately, spoiled by by VS. I even have it set up to cross compile to the Amiga. Debugging sux, though, which is why I have StormC among others.
Title: Re: Best C IDE?
Post by: NovaCoder on August 19, 2011, 07:57:24 AM
Quote from: Heiroglyph;655272
I'm hoping to get back ON the Amiga.  I'm using AmiDevCpp right now, but I'd just rather be on the target system.

So maybe StormC is out of the running, I thought it could also use other compilers.

So any criticisms or concerns on CubicIDE?


I couldn't get on with CubicIDE :(

I'm currently coding ScummVM (written in C++) using AmiDevCPP (gcc).

I did try StormC but it's version of gcc was just too damn old to cope with the current codebase (and the IDE is not really up to handling a large amount of project files).

I then tried CubeIDE (gcc).   The first major pain-in-the-ass was that I had to create my huge makefile by hand (something AmiDevcpp does for you with the IDE) the next problem was that my ScummVM.exe would crash for no reason.

Of course AmiDevCPP isn't perfect either but for modern gcc work it's probably the best bet.
Title: Re: Best C IDE?
Post by: Kronos on August 19, 2011, 09:17:22 AM
Cubic does have a function to create makefiles (only for files in one directory but it's a start).
Title: Re: Best C IDE?
Post by: Karlos on August 19, 2011, 09:56:37 AM
I tend to do my amiga development on my linux machine these days and just use a network share that the amigas access the binaries from whilst testing etc.

However, I used to use StormC's IDE back in the day. It wasn't too bad to be fair, but I am sure there are better available. I hear good things about CubicIDE.