Question

We've been given a C++ code base that was apparently developed using Rational Apex as the front end. In our opinion, Apex is less than ideal for C++ development.

We're looking for an IDE we can use that has syntax highlighting, code-walking (go to definition, show usages), and isn't a pain to use.

We've looked at NetBeans, Sun Studio and Understand. NetBeans is fighting us every step of the way, Sun Studio is lacking in features, and Understand is not really an IDE, but we're looking at trying to force it to be one with macros.

There are other questions on SO that are similar, but they seem to be more directed questions (and more obscure).

What I'd like to know is what Solaris developers use. Do we need to give NetBeans or Sun Studio another look, or is there something we missed?

Was it helpful?

Solution

Last time I was working on a Solaris codebase, I used Visual Studio. Yes, the Microsoft product. Modern versions of Both Visual Studio and Sun Studio are fairly standards compliant. As a result, I could debug application logic on Windows. For the low-level stuff we relied on Qt. As a bonus, once you've got the port to x86-64/Win done, supporting x86-64/Solaris becomes trivial.

OTHER TIPS

Eclipse CDT using gcc.

Apparently, the Code::Blocks IDE (which I can strongly recommend) will work on Solaris - see this link. Having said that, all my own (quite considerable) Solaris C++ programming has been done with vi and make, which is certainly a viable option.

I think you have three options in solaris(or linux);

  1. Eclipse with cdt.
  2. Emacs with cedet,ecb and xrefactory. (*)
  3. Slickedit

(*)cedet(semantic) is good for code completion but not good enough for template based codes.

The SunStudio IDE actually used to be half-decent when it was called Forte. Nowadays it seems to be some java NetBeans derivative horror. Last time i worked on Solaris i ended up mounting my home dir onto windows over Samba and using either Eclipse or Visual Studio to edit code. You can create a dummy (in the sense that it doesn't get used for compiling) project and auto-complete and like should work. That does mean command-line compiling and debugging back on Solaris though.

I think C++ on Solaris ceased to be a viable development platform once Sun shifted their attention to Java...

You can get the latest sparc solaris eclipse from this page. Then add CDT in the normal way, using the Galileo update site.

CDT 6.0 is the first version of the Eclipse C/C++ support that really counts as competitive with VS. And you can use it in the same way on either a PC or the target machine.

Sorry, if you wouldn't consider it an IDE, but Emacs + CEDET never failed me. If CEDET isn't perfect, you still have your head. :)
That's of course if Emacs would work on that SPARC of yours, I wouldn't know, but I believe it will work just fine. Worth every hour you spend learning to use it. Here's a tutorial on how to get started.

Slickedit (400-500US$) is definite the best option for you.

Source Navigator (a dead open source project) will also compile on Sparc machines but i don't think the editor is great.

Why are you bound to SPARC? It's dated and without future.

If you aren't using a special SPARC feature or SPARC assembly i would develop against posix und unix 2005 specification and use Linux where you have more options.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top