sun studio express feedback

LIke it a lot so far

good points

Faster in general (compilation especially)

Code completion

Drag and drop

whole thing looks great although I would like a more unix like font rather than the the netbeans font.

not so good

1) CVS checkout doesn't work for me anymore. I am using the same settings that used to work in the old studio 11 but it fails top connect top my CVS. I had to ssh keygen to get it to work with the old version but now a password is required.

2) Used to be able to click on errors in the build window and be automatically taken to the problem line in the code. This was really good and now seems to be missing!!

Thats all for now

Cheers

Dave

[735 byte] By [enxdtwa] at [2007-11-27 3:41:53]
# 1
Thanks for sharing your feedback! As to error "hyperlinking" -- it *must* work so what you see is probably a bug. Can you describe it in more details and/or file a bug through bugs.sun.com?
MaximKartasheva at 2007-7-12 8:45:27 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2

Hello,

I am running fedora core 5

Linux localhost.localdomain 2.6.18-1.2257.fc5 #1 SMP Fri Dec 15 16:07:14 EST 2006 x86_64 x86_64 x86_64 GNU/Linux

/lib/libc.so.6

GNU C Library development release version 2.4, by Roland McGrath et al.

Copyright (C) 2006 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.

There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A

PARTICULAR PURPOSE.

Compiled by GNU CC version 4.1.1 20060525 (Red Hat 4.1.1-1).

Compiled on a Linux 2.6.9 system on 2006-09-12.

Available extensions:

The C stubs add-on version 2.1.2.

crypt add-on version 2.1 by Michael Glad and others

GNU Libidn by Simon Josefsson

GNU libio by Per Bothner

NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk

Native POSIX Threads Library by Ulrich Drepper et al

BIND-8.2.3-T5B

Thread-local storage support included.

/lib64/libc.so.6

GNU C Library development release version 2.4, by Roland McGrath et al.

Copyright (C) 2006 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.

There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A

PARTICULAR PURPOSE.

Compiled by GNU CC version 4.1.1 20060525 (Red Hat 4.1.1-1).

Compiled on a Linux 2.6.9 system on 2006-09-12.

Available extensions:

The C stubs add-on version 2.1.2.

crypt add-on version 2.1 by Michael Glad and others

GNU Libidn by Simon Josefsson

GNU libio by Per Bothner

NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk

Native POSIX Threads Library by Ulrich Drepper et al

BIND-8.2.3-T5B

Thread-local storage support included.

Since this is not suse nor red hat, but something in between, I had hoped to install

one of these files

StudioExpress-linux-2007-2-ii.tar.bz2

StudioExpress-sol-x86-2007-2-pkg.tar.bz2

StudioExpress-linux-2007-2-pkg.tar.bz2

StudioExpressSysPrep-linux-2007-2.tar.bz2

Nothing worked,

my question has someone succeded to install on AMD64 Opteron the

Sun Studio Express - February 2007 Early Access Release from here?

http://developers.sun.com/sunstudio/downloads/express.jsp

best regards

morten

Lord_Bytea at 2007-7-12 8:45:27 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3

basically the problem is that in the old sun studio 11 when you unsucessfullly build your project, the output window shows the compilation errors along with the line number. In sun studio 11 you can double click the line on which the error occurs and are taken to the line in the code in which the error occurs.

Say you call a function with 5 arguments with only 4 arguments

You get an error giving the line number where the function call occured which you can double click on to go the source code also there is a mention of the function itself and you can double click on that and be taken to the function implementation/declaration lines in the source code.

This facility is not present in sun studio express

Cheers

Dave

enxdtwa at 2007-7-12 8:45:27 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 4

Do you mean that the error was not "hyperlinked"? If so, it must be a bug because hyperlinking used to work from very early builds of Sun Studio 12 and I just verified that it works in latest build.

If you can prepare a testcase that shows this problem, could you please post it here or file a bug through bugs.sun.com?

Thanks,

Maxim.

MaximKartasheva at 2007-7-12 8:45:27 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 5
I have posted a bug report about the hyperlinking but have received no reply yet. By the way this is my studio version.Sun Studio IDE 8.0 Linux_i386 DEV 2007/02/09Dave
enxdtwa at 2007-7-12 8:45:27 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 6

Several hyperlink issues were resolved after Sun Studio Express was released. At

least one was a Linux problem. Hyperlinks were tested in the soon-to-be-available

final version and this should no longer be a problem.

As for your cvs problems (it doesn't look like anyone has responded to that part

yet). The cvs support is inherited from NetBeans and is working well for 10s of

thousands of users. So I suspect its a configuration problem and not a problem in

the cvs support of the IDE.

Are you running the IDE from behind a firewall? One of the differences between

the cvs in ss11 and ss12 is that the one in ss12 makes use of an HTTP proxy to

get through a firewall. In ss11 you had to use something like runsocks to tunnel

through the firewall.

The 1st step to resolve this is to see if your requests are passing through your

firewall (assuming you have one). Bring up the CVS Checkout dialog (CVS->Checkout...).

Click on the Proxy Configuration button. What radio button is selected? If you're

behind a firewall it should be HTTP Proxy and the proxy host and port should be set.

If not behind a proxy then try No Proxy or Use System Proxy Settings. When you've

made your selection, press OK to dismiss the dialog.

What happens now when you press Next? Do you get the "Module to Checkout"

dialog? Or do you get a red error message at the bottom saying it can't connect

to the server of your CVS root?

If the above doesn't help then I'll need more detail on what response your seeing.

I track this forum but you'll probably get faster response if you email me directly

(gordon.prieur@sun.com).

gordonp999a at 2007-7-12 8:45:27 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 7

I have just noticed that hyperlinking is working for source files outside of the project.

ie the following is high-lighted and clickable

/usr/include/bits/mathcalls.h:154: note: candidate 1: double pow(double, double)

/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../../include/c++/3.4.4/cmath:345: note: candidate 2: float std::pow(float, float)

but not

varCalcImage.cpp:4550: error: at this point in file

varCalcImage.cpp:4554: error: `absvector' undeclared (first use this function)

varCalcImage.cpp:4554: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:

On an unreated issue I seem to keep having new projects being created automatically all the time called

image1

image2

image3

etc

there are no source files in them just the same content as my main project which I call ImageProj, they exist on the disk as well and are deletable but then I have to reselect teh execuatable and call options again!

Cheers

Dave

enxdtwa at 2007-7-12 8:45:27 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 8

> On an unreated issue I seem to keep having new projects being created automatically all

> the time called ...

Those projects might be side-effects of debugging. If you debug main (or rather, just *existing*) project, it's fine. But if you debug an executable with no project associated, Sun Studio creates a dummy project just for this debugging session. Can it be the case?

MaximKartasheva at 2007-7-12 8:45:27 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 9

Well I've unchecked the proxy radio button (don't understand why this is the default option) and copied my settings from sunstudio11 that used to work

(for CVS Root:)

:ext:dwatts@typhoeus.chem.york.ac.uk:/y/people/dwatts/cvsroot

in sunstudio 11 (mount CVS) I was able to check the external connection method (as above) and it would be ok, (I would get a mounted CVS directory). Also there is a "select working directory" and "select relative mount point" window. In Sun Studio express it straight into checkout (so how you setup/syncronise the local CVS directory I don't know) and apart from the CVS string (shown above) the options are internal or external ssh. Internal ssh instantly comes back with error "please check username, password and repository" external ssh asks for password and then hangs with a bouncing waiting bar.

I use ssh keygen and ssh-add to connect. But this all seems to work for sunstudio11.

Cheers

Dave

enxdtwa at 2007-7-12 8:45:27 > top of Java-index,Development Tools,Solaris and Linux Development Tools...