In C modus it doesn't seem to handle an unprototyped function calllike a varargs (...) call, but like (void). The code doesn't initialize eax to zero which is required for varargs calls in the amd64 ABI. icc and gccboth get this correct.This could be potentially deadly when calling a gcc ...
396 byte By
pizpalua at 2007-11-27 7:27:41
Trying to install SunStudio 12 on Solaris 10 SPARC. First supposedly removed SunStudio10 withcd /var/sadm/prod/com.sun.studio_10java uninstall_Sun_Studio_Softwareappeared to run successfully.but now when I try to run the installer for 12, it tells me that the IDE component of Studio 10 is still ...
395 byte By
iMaxa at 2007-11-27 7:33:04
Hi,Does Sun Studio 12 support GCC bitfield sizes?The FAQ for version 11 ( http://www.genunix.org/wiki/index.php/Sun_and_GCC_Compiler_Portability) specifially says Sun Studio does not support it. But I do not get any warning message, with any version I have tested (10 & 12). Am I missing some ...
My application program (in C) needs to determine which hid device in /dev/usb is the joystick and which is the trackball. How do I do this?Thanks.Scott
1877 byte By
RJMa at 2007-11-27 7:33:31
Whenever I try to execute the batch installer for sun studio 12 I get the following error message:./batch_installer --accept-slaException in thread "Thread-1" java.awt.HeadlessExceptionat java.awt.dnd.DropTarget.<init>(libgcj.so.7rh)at java.awt.dnd.DropTarget.<init>(libgcj.so.7rh)at ...
I need to do some xml parsing from my C++ programs. Does the compiler ship with libraries for that? If so, how do I get started?Scott
3770 byte By
evgsa at 2007-11-27 7:42:12
HiI have SunStudio12 on some Solaris 10 machine.>CC -VCC: Sun C++ 5.9 SunOS_sparc 2007/05/03>uname -aSunOS sungolem 5.10 Generic_125100-09 sun4u sparc SUNW,Sun-Fire-V250I have some problems with the following test program which terminates with core due to unexpected call of ...
The Sun Studio 12 http://developers.sun.com/sunstudio/features/sysreq.jsp page mentions Solaris 9 and 10 1/06 are supported. Will Sun Studio 12 support Solaris 10 3/05 in the future? Why is Solaris 10 3/05 not supported or at least a patch provided to allow Sun Studio 12 to support ...
I am new to Linux and I just "installed" sunstudio 12 using the tar files (I have Ubuntu 7.04 distro)....I noticed that when I do f95 -dryrun -fast xyz.f90...there is a reference to LD_LIBRARY_PATH that is currently pointed to my ifort compiler### f95: Note: LD_LIBRARY_PATH = ...
5701 byte By
lishena at 2007-11-27 7:48:41
Dear all,I have installed the latest Sun Studio12 and use its DRDT tools to detect the race condition.After the execution of "collect -r on a.out", I can see that the experiement data has been successfully collected. But when I execute "er_print <tha.name>", er_print crashes.The following ...
1080 byte By
jamonea at 2007-11-27 7:50:31
Hola:I have a large super multi-threaded program which compiles and works fine in FC5 (and up), I want to compile it with sun cc to see if it really runs faster and eventually being able to compile for Solaris to see if we can gain more execution speed (ultimately try it on a multi-core SPARC). ...
Hi,I磎 trying to install the Sun Studio 12 on a Fedora Core 6 Linux System. If I磎 correct I will do just two steps: execute prepare_system and then installerWell I do that and I receive this output, can anybody help me ?Thanks in advance,Gus[root@fedora60 gus]# ./prepare_system -C[root@fedora60 ...
1771 byte By
luoyi82a at 2007-11-27 7:52:54
First, version info:luoyi@4Email:~/qp$ gcc --versiongcc (GCC) 4.1.2Copyright (C) 2006 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.luoyi@4Email:~/qp$ suncc -Vcc: ...
I wanna learn c will you please help me
274 byte By
XAPa at 2007-11-27 7:58:45
I would like to install sunstudio 12. I have StudioExpress Mars version (12/2006) installed and nothing to remove it. sunstudio 12 instalation procedure failed : "You may not install while an incompatible release is present."How can I remove this old version ?
717 byte By
EJ_ILGUa at 2007-11-27 8:02:37
Hi, I have Sunstudio 12 on Solaris x86. I've got a warning when dbx read libclntsh.so.10.1.What's wrong? any idea?--bash-3.00$ uname -aSunOS wel02566 5.11 snv_57 i86pc i386 i86pcbash-3.00$ CC -VCC: Sun C++ 5.9 SunOS_i386 2007/05/03--(dbx)debug - 9358...Reading libnsl.so.1Reading ...
I am attempting to compile and run NCAR's CAM3.1, a global climate model, using the Sun compilers for Linux (we are testing our options for running our models in Linux). At the moment I am using a Sun Ultra 20 w/ amd64 and Fedora 5 installed to test this.So far, much of the source has built ...
Hi, I've just upgraded from Sun compiler 5.0 to Sun Studio 11 - On Solaris 8.I have a little program which uses std::string, I can't link this program with Sun Studio 11 : Undefinedfirst referenced symbolin filestd::string::~basic_string() changeUser.ovoid std::string::__unLink() ...
Hello,In the Febuary express edition of SunStudio there were more module update centers available.this allowed me to install the clearcase plugin.When I look at the SunStudio12 final release, there is only an update center for "Sun Studio Update Center".How do I add the other update centers - ...
Studio 12 seems to have a CVS menu item - but I use Subversion.Is there an equivalent facility available as an addin?
Is it possible to configure the /usr/sfw/bin/gcc compiler to be a selectable option in the Compiler Collection setting in Studio 12?(Or indeed any more modern gcc that I might build and install?)
818 byte By
yongsuna at 2007-11-27 8:13:06
I met a strange problem recently. The __STATIC_CONSTRUCTOR() calls are not in proper order.I have one shared object file (im-scim.so), and it depends on another shared library file (libscim-1.0.so). In im-scim.so, there is a static object instance, and it calls a global function in ...
1293 byte By
y.zhanga at 2007-11-27 8:15:23
Hi there, here is my simple c++ code:-#include <iostream>#include <math.h>using namespace std;int main(){long double a, b;int i;for ( i = 0; i <= 1000000; i++ ){a = i * i * i;b = sin(a) * a * a * cos(a);}for ( i = 0; i <= 10000000; i++ ){a = sin(a*b);b = cos(b*b);}cout ...
815 byte By
MFSa at 2007-11-27 8:15:50
Dear all,I'm new to the Sun Development Tools and I'm trying to install Sunstudio12 on my Linux Ubuntu Feisty. I've used the tar file distribution and I installed java-sdk e and netbeans using the deb packages from the Ubuntu's repositories.I unpacked the tar file in /opt/sun. The ...
in the code:CSeqDBAliasNode::CSeqDBAliasNode(CSeqDBAtlas& atlas, const CSeqDB_DirName & dbpath, const CSeqDB_BaseName & dbname, charprot_nucl, CSeqDBAliasStack& recurse, CSeqDBLockHold& locked, CSeqDBAliasSets& alias_sets): m_Atlas(atlas),m_DBPath(dbpath),m_ThisName ...
20285 byte By
autohanda at 2007-11-27 8:20:05
i can call the size function, but not the operator[] function - another vector member variable in the same class does not have this problem - i am confused why i am having trouble with this one.(dbx) print m_SubNodes.size()m_SubNodes.size() = 1U(dbx) print m_SubNodes.operator[](0)dbx: ...
472 byte By
Zootlea at 2007-11-27 8:21:44
While running applications that throw exceptions on x86 with access checking enabled, I always get the following error:Read from unallocated (rua) on thread 1:Attempting to read 4 bytes at address 0xfefa242cLocation of error: , line 0, _get_exit_frame_monitor()Followed by a SIGTRAP:dbx: ...
737 byte By
Viatora at 2007-11-27 8:23:25
hi everybody!could your please help me to understand where mistake is?tried to install Sun Studio12 and received following messages1. while checking for prerequisite software by typing/prepare_system -c - got message "the following steps are required: netbeans patches" (help says i should ...
262 byte By
LeDieua at 2007-11-27 8:25:39
Hi people,I am not sure if this is the right place for this topic but i don't know a better one.I have a question if there is any info about the undo/redo function in the UML Modeling Tool in the Netbeans project.Greetz,LeDieu
678 byte By
RickHa at 2007-11-27 8:26:21
Hi all. I tried installing Sun Studio 12 on my Solaris 10 box. There were troubles at installation, I think because although the top level directory (/opt) was on my box, the next level down (/opt/lang) was out somewhere else on nfs. I tried to uninstall, but that also failed, I'm thinking ...
Where does Forte Developer 6 look for my header (.h) files? I amended my LD_LIBRARY_PATH but it looks like that's just for .so .a etc.
Hi,How do I set the "linker flags" through the Sun Studio 12 IDE?Am moving a small existing set of GTK/Gnome source C code from Eclipse 3.2.x for Sun Studio 12/Express. (Wish the "Eclipse Importer would work with C code"!)Checked out the source from CVS, created a C/C++ project with it, and ...
It seems that access checking crashes the dbx targetwhen it is running in the "de" locale and a call to setlocale()is used.% dbx -VSun Dbx Debugger 7.6 SunOS_i386 2007/05/03(running on opensolaris x86 / build 68)% ...
855 byte By
RickHa at 2007-11-27 8:45:56
Hi all. I am using the new Sunstudio. It works great! I would like put the cursor on an identifier, press the control key, and go to the declaration of that identifier. I can do that, within my own application. But I would also like to follow the reference out to library code. In an attempt, I ...
Hi,I installed sunstudio 12 on a new machine with Solaris 9 x86.When I start it, it displays a list of warnings about missing netbeans modules and ask me if I want to disable them:[code]Warning - could not install some modules:ATD Workshop Project Import - The module named ...
1965 byte By
Makulaa at 2007-11-27 8:48:04
Hi,First of all I don't really know where to put this post about C++ Pack in NetBeans. I've read one post in which someone suggests that this section will be pretty close...Maybe someone here would be so kind and try to help me...I'm using Ubuntu 7.04 and I have a problem with code ...
Does anyone here know how to set up Sun Studio 12 for Linux to work with Clearcase? I found earlier Sun Studio version docs that claim compatibility with Clearcase e.g. http://developers.sun.com/sunstudio/products/previous/10/studio_linux.pdf and ...
Hello,I downloaded and installed Sun Studio Express Release with D-Light.Sun Studio IDE looks very nice, but there are some problems.One of them is that "Reformat Code" does not work well in C/C++ codewith multi line macros. Here is what I see on the screen:#define wastetime(res) { \res = ...
Hello,I'm trying to use D-Light Tool in Sun Studio Express Release.I solved d-trace permissions problems (thanks for some useful tipsin help). Now I run a test program under D-Light instruments,and I'm trying to understand the pictures. I see some problems.They look like bugs, but probably I ...
Not work Analyzer(Running "/opt/sun/sunstudio12/prod/bin/collect -d /usr/local/sunworkspace/Fractal_1/nbproject/private/experiments -o test.3.er -A on -r race,deadlock /usr/local/sunworkspace/Fractal_1/dist/Debug/fractal" in /usr/local/sunworkspace/Fractal_1WARNING: Target ...
We want some clarification regarding SUN C++ Compiler S/W. We have Sun studio v 11 installation on SUN v440 R server, where SUN C++ compiler shows v 5.8 (Server Output as below)And as per our environment requirement is SUN C++ Compiler which comes along with SUN Studio 9 .1. Can we install 2 ...
616 byte By
s.urbata at 2007-11-27 8:52:22
The following two issues are absent on Solaris 10 SPARC and all previous Sun Studio versions (8 to 11), but present on both amd64 Solaris 10 and Linux 2.6 versions:1. mozilla.org's Spidermonkey "JavaScript" (ECMAscript) can't be compiled with it: in file jsinterp.c an endless loop is entered ...
1223 byte By
grepboya at 2007-11-27 8:55:21
Greetings;Recently, I've been working with some folks who are busily trying to migrate a rather large application they did using Forte 7 and Roguewave v7.0e to SunStudio 12 on a Solaris 10/Sparc box.What I will usually get when attempting to compile now ...
340 byte By
zaocoma at 2007-11-27 8:55:26
I'm a newbie to the Sun Studio IDE, and I can't find a way to run lint in the IDE. The C compiler does not give many warnings (unused variables, etc), and lint does, so I want to get the lint diagnostics within the IDE.I can run lint from a terminal, but that is very cumbersome when you have ...
The following core dump occured when compiling with flags "-c -g -fast". In contrast "-c -fast" worked without an issue. If you need the source file for debugging please contact me personally.thomas@azalin:~/metac/metacc/devel/test$ pstack core | /mypool/common/opt/SUNWspro/prod/bin/c++filtcore ...
1880 byte By
jaymiesa at 2007-11-27 9:03:31
Greetings,I am part of a group at Simon Fraser University who are developing a program to generate reuse-distance profiles across a variety of benchmark applications. We are testing our work on a Sun Fire T2000 server (64-bit SPARC v9 processor @1200MHz).My job has been to create a program that ...
5180 byte By
luoyi82a at 2007-11-27 9:04:56
it seems that suncc have some trouble when working with PHP,hope you can imporve it:luoyi@4Email:~/src/lylib/trunk/topbuild$ cat do.sh #!/bin/shecho "**************** first gcc *****************"make -B lib/xarray_php5.doecho "**************** then icc *****************"make -B ...
Hi Friends,We are using Solaris 5.9, in a V880 machine and Sun CC 5.5 compiler.We have a multi-threaded application, and we are using -lpthread.We use "cout" option for our console logging. The logging mechanism works fine initially, but as soon as we create a new thread, from the new thread ...
Hi,I am testing different ways for some structures and I want to know if its possible to use the interfaces "molding" for change the arguments, like an array of pointers using an array of integer(kind=C_INT_PTR).I am trying with this code and with intel compiler work fine, but I'm not sure if ...
Hi Friends,Recently we are facing some peculiar "warning" from our code where we call pthread_create() function.Warning:============="testMain.cpp", line 153: Warning (Anachronism): Formal argument 3 of type extern "C" void*(*)(void*) in call to pthread_create(unsigned*, const _pthread_attr*, ...