2177 byte By
bouldera at 2007-11-26 17:00:19
SunOS taurus 5.10 Generic_118833-23 sun4v sparc SUNW,Sun-Fire-T1000 SolarisCC: Sun C++ 5.8 Patch 121017-08 2006/12/06purify Version 7.0 Solaris 2libCstd is patched with patch 119963-08.Is there anything to be done about the following purify error? #include <string> int main(){std::string ...
1120 byte By
dealy663a at 2007-11-26 17:02:22
I've been struggling with netbeans and the c++ development features for a couple of days now and am ready to tear my hair out.Could someone please explain how to do the following (or at least provide a link that explains how to do these things):1. How do I configure my environment when ...
We have developped a C++ program which communicates to the server in udp socket. In certain cases we want to include a 100 microseconds delay between our write operation on udp socket, this we have tried using the select system call which accepts the timeval structure. But this doesnot include ...
Greetings,For historical reasons, our makefiles are called Make.bldSun Studio refuses to accept these as makefiles.It'd be a big pain to modify our entire build system to take makefile as the name.Is there a way to instruct sun studio to accept a different filename for makefiles ...
Another newbie style question. We already have several projects that are contained within a hierarchical directory structure. If we run make at the top level it will recursively call make on all of the projects in sub-directories. With netbeans I created a project at the top-level directory of ...
Does anybody know how to make CURSES based application to work properly when using Studio 11 dbx 揚rocess I/O?Output Window?Some characters are scrambled on output and the worst part is that input 揳rrows?from keyboard and some other keys will not return from 搘getch(win) curses function call. ...
When I debug my project with GDB I'm able to stop at breakpoints in the main program but not at ones set in the library its linked against. When using GDB from the command line I can supply the -d /additonal/src/directories option and it will allow me to set breakpoints on the library ...
Hi all,I'm rebuilding an open source in Solaris 10 ENV using Studio 11 on an ultrasparc server. I want to build it with 32 and 64 bit libs (e.g /source/lib for 32 bit and /source/lib/sparcv9 for 64 bit). Could anyone tell me what are link options or compiler args can do these. (just compile ...
113 byte By
Gmourada at 2007-11-26 17:23:44
I ''d like to know how I will a source code in solaris enviromment (in command line) my file (arq.txt) ?
how do i see the current version of compiler installed in the unix machine
Most of my applications are in c++, i have one application in java.How can I invoke the java application(jar) from c++ code?
402 byte By
ScAra at 2007-11-26 17:29:37
Hi all,I have a problem with a hanging multithreaded C++ application (build with SunStudio10). To find out where it hangs, I want to debug it, but in the debugger I can not reproduce this behaviour. Is there a possibility to force the application to write a corefile when it hangs, that give me ...
Hi, everyone:On page 3-75 of Fortran User's Guide for Studio 11(Part No. 819-3686-10), the examples showed both little4 and little8. What are the differences for these two? I tried both for compilation, I still got something like End of File error. I am working with ExpressStudio 3 releas 2 on ...
Hi,I'm trying to compile OpenSSL 0.9.8d on a Sun T1000 running Solaris 10 with Sun Studio 11. I added RC5 support, so I ran "make depend" but I'mgetting the following errors:makedepend: warning: cryptlib.c: 150: #error("Unrecognized compilerprotocol for variable argument lists").I searched ...
Hi all!I have SunStudio 11 installed on Linux x64_86 platform. It can edit and compile things just fine, but each time I tried to load program into the debugger I get the folllowing message:Annotation: Exception occurred in Request Processorjava.lang.NoClassDefFoundErrorat ...
Dear friendsi have download the j2sdk-1_4_2_02-linux-i586.binand after that i run the following comand chmod a+x j2sdk-1_4_2_02-linux-i586.bin and after that ./j2sdk-1_4_2_02-linux-i586.bin but after i run javac but its no command found i am using mandriva 2006plz help ...
37650 byte By
radudaa at 2007-11-26 17:47:30
HiMy application crashes from time to time with SIGBUS. It is a multi thread application. Here are the last 2 stacks on the thread with SIGBUSt@null (l@288) stopped in dbm_open at 0xff2d40d80xff2d40d8: dbm_open+0x00d0:mov%i5, %o0(dbx) where [1] dbm_open(0x10, 0x0, 0x94238, 0xff2d4268, ...
5000 byte By
w4nava at 2007-11-26 17:53:10
Unable to compile a simple program with CC (compiles w/o errors using g++)-- test.cpp -#include <string>#include <iostream>using namespace std;string xx = "Hello World ...";int main () {cout << xx << endl;return 0;}--sunCC -v -o testcc test.cpp###command line files and ...
283 byte By
mynaa at 2007-11-26 17:56:07
Hi,I want to learn C. So I want to do practicals also at home. Can any one of you send me the link to download C compiler. So that I can write small small programs and execute them. Please help me in downloading & executing C compiler & C programs.Thanks
441 byte By
ScAra at 2007-11-26 18:08:10
Hi all,I try to debug our C++ application with SunStudio 10. Setting a breakpoint takes sometimes several minutes (last time I wait 10 minutes!).I am working alone on this machine, the 4 CPU's are all the time idle. The memory usage is less then 30%. What in the hell prevent the debugger from ...
2485 byte By
Sara_Kana at 2007-11-26 18:22:08
I turned on the optimization for the whole product. Now I found that I can not print the local variables declared in side the main funciton or inside the function locals.eg.int factorial (int n){int factorial = 1;while (n > 1){factorial *= n--;}return factorial;}When I tried to print n or ...
There is one way I can save my optimization initiation with my product. Is there any simple way to associate the register variables to the actual local variables.In this scenario which values correspondes to "len" ....(dbx) nstopped in main (optimized) at line 29 in file "fileex.cc"29int len = ...
I am completely optimizing our company product. I would like to know if there are ways to exclude certain classes or funciton scope from being optimized?I am using the following compiler options."-fast -xtarget=ultra3 -xarch=v8plusa -g0"
Now that Sun says they are going to support Intel's latest processors, will there be different flags to compile code for 64-bit on that platform, or will code already compiled with the amd64 extensions work on it too?
I have dowloaded the Vim 6.4 tar file, and untar the same successfully.When i try doing a make i get the following error msg./opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.8/include/sys/signal.h:95: conflicting types for `sigset_t'/usr/include/sys/select.h:46: previous declaration of ...
Hello,about a year ago, someone posted on this list that there were plans to support some gmake constructs in dmake. What is the status of this? I have not noticed anything in the express releases.Also, are there any plans to replace solaris make by dmake? I heard people talking about it, but ...
321 byte By
ledzepa at 2007-11-26 18:41:09
HiI have applications which use ranlib (though obseleted, but legacy software) as a part to create static libraries. Now it works fine on the SPARC Solaris 10, but when the same software is compiled in i386 Solaris 10, the static libraries are not formed. Any pointers?Thanks in ...
The group I support is planning to go from using v5.4 to v5.8 of the Sun C++ compiler. Have been tasked with determining what impact this will have on our production platform. We do not need the new version of the compiler on the production box since no one will be compiling code there. But was ...
I am very new to solaris, i install Solaris 10 in a SunBlade 100 just a couple of weeks ago, and i'm very impresed with Solaris, i'm loving it. The firts reason that i wanted to use Solaris is for programming, and the second reason because i've been fan of Sun Microsystems long time ago and ...
I'm trying to get some GCC styled code to compile under SunStudio 11]I have one line that goes from this...#define __MULH64(__x, __y) ({ uint64 __lo, __hi; __asm__("mulq %3" : "=a" (__lo), "=d" (__hi) : "%0" (__x), "rm" (__y)); __hi; })...to become an inline that I believe should look like ...
2306 byte By
uchouaxa at 2007-11-26 18:59:49
Hi,I am working on Solaris 5.8 with Forte Developer 7 C++ compiler 5.4. I am using RWDate, RWTime in my application code. This meant that I had to apply the new compiler patch 111715-18 for DST.The moment I apply the patch, it starts giving me compilation error in Corba code.To confirm this, I ...
1228 byte By
Rangara at 2007-11-26 19:01:31
Sorry, I am not sure if I am posting this in the right place or not.. correct me if I need to place this somewhere else please :)I have 2 bugs to report for Express December build for Solaris x86..1) This has happened a few times now.. compile project with F11, exec project application with F6, ...
The following test program compiled and run on a solaris 2.8 machine runs fine when run as different users. i.e. when the second user calls sem_open() they can sucessfully connect to the semaphore created when the first user called sem_open().When I repeat the test on a solaris 2.9 machine, the ...
I just noticed a fair few files under /var/spool/clientmqueue indicating my use of Studio Express was trying to send files to the above address at Sun (however, sendmail has been disabled).I couldn't find this documented anywhere, is it meant to happen?tony
780 byte By
baezaea at 2007-11-26 19:07:23
Hi,I use Sun studio 11 on SUSE Linux 10.1 machine.The problem is that "Local Variables" on debug mode does not give correct values.For example, if I run "squares" program in the Tutorials, after executing this lineint limit=10;it showsName Valuelimit-1208779616Even if I type the command in the ...
Hi All,I have an issue regarding the warning raised by new complier upgrade.Sun Studio 11 is the product and OS is Solaris 8.The following are the warning messages after successful compilation1. Warning: declarator required in declaration2. Warning: Last line in file "../inc/bibbnote.h" is not ...
674 byte By
Rangara at 2007-11-26 19:25:18
A major bug I am having to fight right now is the ide debugger locking SSE solid.Either through step in to project, debug executable or debug project. IDE brings up a dialog msg box where you can see it's doing it's loading and setting up. A purple line goes through the first line of the code ...
257 byte By
weidaia at 2007-11-26 19:30:56
Does Sun's compiler offer any way to access the x64 instruction (mulq) that multiplies two 64-bit integers together and produces a 128-bit result? Either a 128-bit integer type like GCC's __uint128_t, or an intrinsic function like MSVC's _umul128?
I'm debugging a core dump from an optimized C++ application, so I don't have any debugging information and have only the capability to dissasemble the SPARC machine code inside the frames of my application's statck. I realize that knowing what "zero_ints" does may not seem important, but ...
997 byte By
aladeena at 2007-11-26 19:37:55
I was debugging a core generated from the live box and faced following error.The dbx is not able to map the address and giving following errorscore file header read successfullyReading ld.so.1dbx: core file read error: address 0xffffffff7f725d48 not availabledbx: core file read error: address ...
312 byte By
Nir_Gala at 2007-11-26 19:39:26
Hi,I have installed "studio-lin-x86.tar.bz2" on my AMD64 machine.After installation is done I can't find anyccCCor any other compiler ? I saw them when I installed the "sunstudio11-ii-20060829-sol-x86.tar.Z" version ?Can someone help ?ThanksNir ...
1393 byte By
rgaaa at 2007-11-26 19:42:23
Hi there,I'm just starting with studio express in linux and have strange error, I don't know how to solve. Is easy to see:hello.c:#include <stdio.h>int main(int argc, char **argv){printf("start with studio express for linux\n"); fflush(stdout);return 0;}>CC -o hello.bin ...
I just start learning to program in C, i got Sunstudio11 to compile the programs, but when i want to compile a program i get this message:cc program.c /usr/ucb/cc: language optional software package not installedand i go to the Sunstudio tutorial but is very confusing, can somebody please tell ...
Greetings,I just checked out my build tree, which includes some scripts.Those scripts have their execute bit cleared.If I remove those files and do a cvs update in that dir manually, the scripts are checked out with execute bit set.Anyone else run into this?How can this be ...
I am unable to find a way to add libraries using the make wizard. Thanks
Hi together,I have an application which needs about 60MB memory when run with my test data on Linux. When run on Solaris it stops with about 2GB memory eaten with the error message 'no memory'. The problem disappears when libumem is used with this program.So my question: what does libumem ...
1095 byte By
nstsmta at 2007-11-26 20:12:56
I have inherited code that utilizes the sun performance library. Specifically it uses a call to dgesvd_Under studio 10 this code compiles and runs. Earlier in the week, I migrated to studio11 and the code compiled but crashed in another call to the performance library and the stack trace showed ...
2205 byte By
Lars_Va at 2007-11-26 20:17:42
HiI get the following results from running the code belowCC: Sun C++ 5.9 Linux_i386 Build35_2 2006/12/04Helloarghc++ (GCC) 3.4.6HelloCaught itNo problemSystems I tested it onWhitebox WBRL4 ( Redhat RHEL 4 clone )Gentoo x86_64#include <iostream>#include <stdexcept>using namespace ...
112 byte By
netlinka at 2007-11-26 20:20:20
Hi,Anyone has the old link to download Sun Studio 10 from Sun website?Thanks for your help.
1255 byte By
rgaaa at 2007-11-26 20:36:31
Hi,I'm trying to get at 1st a unit test running (Suse 9.2, CC: Sun C++ 5.9 Linux_i386 Build35_2 2006/12/04). To keep things simple I start with only instantiation of a class of ccpunit:int main(int argc, char* argv[] ){ // Create the event manager and test controller CPPUNIT_NS::TestResult ...