61 byte By
gvmani at 2007-11-26 11:49:51
In Jsp hw to use a protected method of a single class?
478 byte By
willoch at 2007-11-26 11:52:19
if I do in dbx a :[code](dbx) print -p rr =1.414214[/code]it calls my db_pretty_print routine and prints it nicly.But if I do[code](dbx) print -p r,a2r = {x = 6521908889953566720U}a2 = {x = 1152921504606846976U}[/code]it prints it without prettyprint.All the other modifiers to print works ...
One of tmy applications has memory leak sometimes, not always. I find most tools to check the memory leak needs to reproduce the leak, but now I can not reproduce this issue, is there any tool to analyze the source code to find the memory leak?
5711 byte By
jeevan.kr at 2007-11-26 11:54:47
I am am trying to compile an application on Solaris 11 x86 using sun studio 11 compiler suite. I get the following errors when I compile a file called Terminal.cpp.<snip>"../libs/libFreeMat/Types.hpp", line 56: Warning: Identifier expected instead of "}"."/usr/include/curses.h", line 141: ...
I'm trying to compile a kernel module for Solaris 9 which contains C++ code. I'm compiling with the Sun Studio 11 compiler. One file declares some global variables that are C++ class types. It appears that within the constructors for some of these classes the compiler generates a reference to ...
1095 byte By
Zootle at 2007-11-26 11:55:17
I'm attempting to debug a client's C++ application, but dbx dumps core either loading or running the application.The stack trace from the dbx core is:main(0x2, 0x8046ecc, 0x8046ed8)0x80f6dd3(0x837e5c0, 0x8469e88, 0x8046e54)targ_ppi_init(0x837e5c0, 0x8046e54)0x81ffc88(0x837e5c0, ...
916 byte By
yakovyu at 2007-11-26 11:56:31
000100007968K r-x-- /export/home/home0/corems_V0.2.2.0/TEST/DMNG/ElementManager_cm100Hi,I would like to understand the information returned by the pmap tool, and more precisely how can I get more details about the source of such heap (65Mb). Is there any way to understand what library is ...
1105 byte By
TobiasB at 2007-11-26 11:56:32
Hello,I compared the current GCC Fortran Compiler (gfortran; 4.3.0-trunk) with the Sunstudio Fortran Compiler (sunf95), the Intel Fortran Compiler (ifort) and the NAG f95 compiler using the Polyhedron Fortran Benchmark suite. http://physik.fu-berlin.de/~tburnus/gcc-trunk/benchmark/sunf95 is ...
1488 byte By
herteg at 2007-11-26 11:59:33
I've got a program foo/foo.cc, that includes the following code, stripped down for clarity:#include "../bar/bar.h"func (){update_status = update_jobs_table <SequenceIndex, Job_list_by_Sequence::const_iterator>(jobs_table_update_statement, Normally_Changed_Job_list, ...
Hi all,This is my first thread in this forum. I have been given this c program assignment to be impelemented but i don't know how to do it! i write korn shell only. Any help is appreciated.This assignment is to be written in the C programming language. You will implement a mailbox abstraction ...
186 byte By
willoch at 2007-11-26 12:00:11
With latest (and assume all) studio compilers labs and llabs are not inlined.Is this just something somebody has forgotten, or is it some deep C standardexplanation?
762 byte By
John_C at 2007-11-26 12:00:14
I need to profile some applications running on Niagra. In particular, I'd like to be able to monitor cache misses.I found this post, which has me somewhat concerned: http://forum.sun.com/jive/thread.jspa?forumID=309&threadID=94383The post seems to suggest that profiling on Niagra is ...
Hi all,This is my first thread in this forum. I have been given this c program assignment to be impelemented but i don't know how to do it! i write korn shell only. Any help is appreciated.This assignment is to be written in the C programming language. You will implement a mailbox abstraction ...
i tried to install the studio11 in my linux machine, i typed ./installer as said in the installguide, but it show an error like this:InvocationTargetException in ArchiveReader constructornulljava.lang.reflect.InvocationTargetExceptionat ...
I have an application that runs a Runnable like this. The runnable calls some method each 5 seconds perfectly, but i want that the general aplication (the main thread that runs the application) was noticed. Because the execution of runnable continues without problems but the application is not ...
I have a application that runs a Runnable like this. The runnable call some method each 5 seconds perfectly, but i want that the general aplication (the main thread that runs the aplication) was notified. Because the execution of runnable continues without problems but the aplication is not ...
324 byte By
LechgiFa at 2007-11-26 12:33:16
My os is solairs 10 x86use netbeans to compile C++ project,but it doesn't workoutput is Running "" -f Makefile CONF=Debug"" in /mnt/win/JAVA/Args1/opt/netbeans-5.5/cnd1/bin/stdouterr.sh: -f Makefile CONF=Debug: Can't findBuild failed. Exit value 1.who can help me with ...
502 byte By
_s_r_s_a at 2007-11-26 12:34:07
Hi,I use CC compiler on Solaris. -S option to earlier version of CC used to provide a mapping between the C/C++ source line number and the equivalent assembly code. But the version of CC available with me doesn't provide source line number in .s anymore. I need this mapping to be able to ...
Hi list,I am experiencing a problem with exporting functions in a shared library that I am building with Sun Workshop. I am compiling my C code using the following format:/opt/SUNWspro/WS6U2/bin/cc -c -mt -xO4 -Kpic -s -misalign -xCC -xchar -xipo -D_REENTRANT -I./INCLUDE -I./PLATFORM/INCLUDE -o ...
51 byte By
chandona at 2007-11-26 12:52:17
When is the estimated release of sun studio?
392 byte By
chandona at 2007-11-26 12:52:18
Hi,I am working on a program in C++ on solaris 10, i was able to compile the source codes in netbeans and did debugging using gdb 6.5. Later i moved in to sun studio 11 and tried using dbx to do debugging but the dbx debugger crashed out.stating dbx: internal error: signal SIGSEGV (no mapping ...
Hi,i was looking for information on how to exactly formulate inline-assembly statements with the c compiler. However there were no usefull information available. Can you please point me to some locations, please.matthias
1938 byte By
juborka at 2007-11-26 13:01:48
Hi,After installing Express 2 on my Gentoo distros (amd64 and x86),I noticed the following problems :1. prod/bin/ipo (possibly other executables too) have /usr/bin/bzip2hardcoded. On Gentoo however bzip2 is usually in /bin/bzip2,so the best bet would be to put in executables only ...
Sun Studio Express Program December 2006 Build availablego get it now ... http://developers.sun.com/prodtech/cc/downloads/express.jsp
Sun Studio Express Program December 2006 Build availablego get it now ... http://developers.sun.com/prodtech/cc/downloads/express.jsp
Sun Studio Express Program December 2006 Build availablego get it now ... http://developers.sun.com/prodtech/cc/downloads/express.jsp
Sun Studio Express Program December 2006 Build availablego get it now ... http://developers.sun.com/prodtech/cc/downloads/express.jsp
Sun Studio Express Program December 2006 Build availablego get it now ... http://developers.sun.com/prodtech/cc/downloads/express.jsp
788 byte By
luoyi82a at 2007-11-26 13:06:42
luoyi@slack$ sunCC -VsunCC: Sun C++ 5.9 Linux_i386 Build35_2 2006/12/04luoyi@slack$ sunCC -fast -xMD main.ccsunCC: Warning: Option -xMD passed to ld, if ld is invoked, ignored otherwise/usr/bin/ld: unrecognized option '-xMD'/usr/bin/ld: use the --help option for usage informationsame things ...
studio11-sol-sparc.tar.bz2 can't decompressCRC failure
1034 byte By
lishena at 2007-11-26 13:14:55
Dear allI am doing some research on the data race issue and trying to use DRDT (Data Race Detection Tool). I just follow the instructions in the Sun's website, But the process break at the first step:When I used the following command tp Instrument the source code:[b] CC -xinstrument=datarace ...
I've just installed Sun Studio 11. It didn't recognize jdk1.6, so I switched to jdk1.5.0_10.But when I wanted to created C files, I received an unexpected exception, and sometimes the file was created, sometimes not.What's the possible reason? Thanks.
sunCC supports variadic macros. suncc also supports the gcc extension that allows to give a name to the '...' argument (other than __VA_ARGS__). Could this be added to sunCC as well? It is used everywhere in the linux kernel, and one often has to include (indirectly) linux headers in C++ code ...
527 byte By
jancheza at 2007-11-26 13:19:23
Kind of an odd one.I compile a program like this:struct test {volatile int member : 15;};void f (void){ struct test temp; temp.member = 1;}with cc -fast -xarch=amd64 test.c -c -o /dev/nulland get this error:ir2hf: error: Assert has been violated at ...
I got the source of one program,and compiled it,I noticed that different library (C++ and C)linked to this program,any one may help to understand why?In fact,I want to keep C library only because it exists on all workstation but C++ has to be installedOld file information-# ldd ...
Hey I am looking for an IDE with inbuilt gcc compiler which could be run from SOLARIS Machine. Somebody please help me
Hello All,We have developped a C++ application which uses connection based udp socket for transfering the data between two solaris10 machines. The data transfer takesplace for every 20 min and continues for about 1 min. The total no of udp sockets i am using is more than 1200. During the time ...
I've a code which is compiled in a solaris 32 bit system and compiled with the option CCGNUFLAGS=-xarch=v8 -xcache=16/32/1:1024/64/1 -xchip=ultra +d -instances=static ( which i guess means , it'll run as a 32 bit application ) .. These object files are unzipped and linked on a sun OS 5.8 ...
Please, help with the following simple compilation***********************************// print_routines.cpp#include <map>#include <string>int main(){std::map<const std::string, bool> fred;return 0;}********************************-bash-3.00$ CC ...
Please, help with the following simple compilation***********************************// print_routines.cpp#include <map>#include <string>int main(){std::map<const std::string, bool> fred;return 0;}********************************-bash-3.00$ CC ...
932 byte By
PAPa at 2007-11-26 13:37:34
SunSudio Express (December 2006 release) introduces some interesting new features, but there are still problems. For the first time, I was able to debug Fortran 90 applications in Linux, but debugging is still very limited. Furthermore, the Fortran error parser does not work, even when ...
179 byte By
AGADGILa at 2007-11-26 13:40:19
When trying to lauch sunstudio I get the following error,Error: Cannot find NetBeans 3.5R releaseAny idea how I can resove this?Regards,Abhijeet
Hi all,I'm hoping somebody can assist me getting Studio 11 (latest version for SPARC) installed on my Sunblade (a 150). I'm installing it as myself.I'm running the JDK version 1.6.0 as shown below. CLASSPATH isn't set but it wasn't set on my other machine (an Ultra 2) and it apparently ...
491 byte By
theMAGEa at 2007-11-26 13:48:58
Hello,Does SunCC support "likely" and "unlikely" condition branch annotations? GCC has a construct "__builtin_expect" that can be used to define these two macros:# define likely(x)__builtin_expect (!!(x), 1)# define unlikely(x) __builtin_expect (!!(x), 0)and these macros, when used in a ...
717 byte By
hertega at 2007-11-26 13:50:43
Trying to keep some code portable between Solaris and Linux, I decided to try theDecember build of Studio Express on Linux. Now I'm getting a strange error, herestripped down to bare essentials:% uname -aLinux ferrari 2.6.9-42.EL #1 Wed Jul 12 23:15:20 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux% ...
3736 byte By
hertega at 2007-11-26 13:50:44
I'm seeing a problem with the December build of Studio Express under Linux.Stripped down to bare essentials, it looks like this:% uname -aLinux ferrari 2.6.9-42.EL #1 Wed Jul 12 23:15:20 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux% cat foo.cc#include <string>int foo (){return 0;}% CC ...
573 byte By
hertega at 2007-11-26 13:52:30
Evidently, the user API for the Data Race Detection Tool has been modifiedin the Dec 2006 release of Studio Express. As a result, the -lrdthooks libraryis no longer available, and the available routines have changed (see Section 7of the Thread Analyzer Tutorial at ...
I am using mktime function to convert time from UTC to local time. All is going well until the year changes. Apparently mktime convert the year to the system current year and not year passed in the time_t struct.For example if i input the year of 2008 it will return the year 2007.I am using the ...
968 byte By
jxlua at 2007-11-26 13:57:03
Hi folks,I am trying to find a way to achieve faster startup and better runtime performance for a library. I built a non PIC version of a library and I found the runtime performance is much better than the PIC version. However, it comes with a cost for startup, the huge relocation overhead. ...
655 byte By
Malezea at 2007-11-26 14:00:47
When trying to instantiate member templates, CC 5.8 Patch 121017-07 apparently generates twice symbol names it has already seen. Hereunder is a test case.CC -I. -c bugTmplInst.cc results in :Error : Multiple declaration for MYCONSTIs this behaviour normal ?Regards,PHbugTmplInst.hclass Exmpl{ ...