Sun Studio FAQ and Wiki

I've started adding some Sun Studio information to the
OpenSolaris Wiki at genunix.org. Check it out.
http://blogs.sun.com/quenelle/entry/sun_studio_wiki

Hi
Yes it's possible. Just make sure that they are installed in different directories e.g.,
/opt/SunStudio8 and /opt/SunStudio12.
Studio 12 now installs links to /usr/bin (IIRC this is an option during the install). I'd suggest that you not choose this if you plan having multiple compilers concurrently installed.
Paul

Similar Messages

  • Additional FAQs and Wikies (Updated 16th of November 2014)

    Additional FAQs and Wikies (Updated 16th of November 2014)
    The wikis listed below are all unofficial documentation. They have been written and adapted to tackle the problems of the Dell Microsoft OS Forum by me, Philip Yip, the Dell Community Rockstar natakuc4.
    Dell Technical Support may not be able to assist with unofficial configurations such as the unofficial driver sets or installation of Windows with Retail Media.
    Microsoft Windows
    Windows 8.1
    Explanation of the OEM or Retail License (Philip Yip)
    A Clean Install of Windows 8.1 (Philip Yip)
    Download Windows 8.1 Retail and OEM .iso (Philip Yip)
    Downloading Windows 8.1 Enterprise Trial (Philip Yip)
    Customising and Using Windows 8.1 (Philip Yip)
    Obtaining your BIOS Embedded System Locked Preinstallation 25 Digit Product Key (Philip Yip)
    Installation of Windows 8.1 using a Windows 8.0 Product Key (Philip Yip)
    Dell Backup and Recovery/Alienware Respawn - Setup A New Factory Partition on A Clean Install, Create Recovery Media and Restore Using Recovery Media (Philip Yip)
    Dell Computer Support for Windows 8 Upgrade and Windows 8.1 Update (Dell ID 575111)*
    Dell Technical Support Videos for Windows 8 (Dell)
    * A number of unofficial drivers have been made for unsupported systems. See below.
    Windows 7
    Explanation of the OEM or Retail License (Philip Yip)
    A Clean Install of Windows 7 (Philip Yip)
    Download Windows 7 Retail and OEM .iso (Philip Yip)
    WSUS Offline Update - Patch Windows 7 Fully (Theres no SP2) (Philip Yip)
    The Activation Backup and Recovery Program (Philip Yip)
    Dell Backup and Recovery/Alienware Respawn - Setup A New Factory Partition on A Clean Install, Create Recovery Media and Restore Using Recovery Media (Philip Yip)
    Microsoft Windows 7 Compatible Dell Systems and System Requirements (Dell ID 273634)*
    Dell Technical Support Videos for Windows 7 (Dell)
    * A number of unofficial drivers sets have been made for unsupported systems. See below.
    Windows Vista
    Explanation of the OEM or Retail License (Philip Yip)
    A Clean Install of Windows Vista (Philip Yip)
    Download Windows Vista Retail and OEM .iso (Philip Yip)
    WSUS Offline Update - Patch Windows Vista Fully (Philip Yip)
    The Activation Backup and Recovery Program (Philip Yip)
    Dell Backup and Recovery/Alienware Respawn - Setup A New Factory Partition on A Clean Install, Create Recovery Media and Restore Using Recovery Media (Philip Yip)
    Windows XP
    A Clean Install of Windows XP (Philip Yip)
    WSUS Offline Update - Patch Windows XP Fully (Philip Yip)
    Download Internet Explorer 8 (Microsoft)
    End of Life - April 2014 (Microsoft)
    White Paper Mitigating Risk: Why Sticking with Windows XP is a Bad Idea. (IDC Analyze the Future)
    As XP is at End of Life you should avoid its use and migrate to a modern OS such as Windows 8.1 or 7. Neither Dell or Microsoft will support Windows XP. As XP is at End of Life, Dell cannot ship out any Windows XP Reinstallation CDs/DVDs. 
    Virtualisation
    Install Windows in VMware Player and Assign Hardware to the Virtual Machine
    Microsoft Office, SkyDrive and Related Programs
    Microsoft Office 2013
    Microsoft Office Product Identity Card (Philip Yip)
    Download Office 2013 (Philip Yip)
    Microsoft Office 2013 WebApps
    Office 2013 Web Apps and SkyDrive (Philip Yip)
    Download SkyDrive Desktop Application (Philip Yip)
    Microsoft Office 2010
    Microsoft Office Product Identity Card (Philip Yip)
    Download Office 2010 (Philip Yip)
    Microsoft Office 2010 Starter
    Office 2010 Starter is now obsolete and you should use the free Microsoft Office 2013 Web Apps.
    There is no official download link for Office 2010 Starter.
    Microsoft Office 2007
    Microsoft Office Product Identity Card (Philip Yip)
    Download Office 2007 (Philip Yip)
    Microsoft Office 2003
    End of Life - April 2014 (Microsoft)
    Microsoft Works
    Download Microsoft Works 9.0 (Philip Yip)
    Microsoft Mathematics
    Download Microsoft Mathematics (Philip Yip)
    This has an addin for Office 2007, 2010 and 2013.
    System Drivers
    The BIOS Update (Philip Yip)
    Checking Hardware IDs in the Device Manager in Windows Vista, 7 and 8.1 (Philip Yip)
    Driver Installation Order (Philip Yip)
    Direct Links to System Drivers: The Dell FTP Website (Dell)
    The Microsoft Update Catalog (Philip Yip)
    Driver Installation via the Device Manager (Philip Yip)
    Dell Unofficial Driver Sets (Philip Yip)
    Dimension Desktops
    Inspiron Desktops 
    Inspiron Laptops 
    Latitude D Laptops 
    OptiPlex Desktops
    Studio Laptops
    Vostro Desktops
    Vostro Laptops
    XPS Desktops 
    XPS Laptops
    Dell Wireless Cards - Hardware IDs (Philip Yip)
    Backing Up and Restoring your Windows Installation/Data
    Dell Backup and Recovery/Alienware Respawn (Philip Yip)
    Backing Up your Windows Installation Using Acronis (Philip Yip)
    Data Recovery Using Fedora (Philip Yip)
    Diagnostics
    F12 Pre-Boot Diagnostics
    Securely Wiping your System
    Securely Wipe your Hard Drive with DBAN
    Software Maintenance
    CCleaner and Defraggler
    MalwareBytes’ AntiMalware
    Recovering a Hijacked Internet Explorer

    Additional FAQs and Wikies (Updated 16th of November 2014)
    The wikis listed below are all unofficial documentation. They have been written and adapted to tackle the problems of the Dell Microsoft OS Forum by me, Philip Yip, the Dell Community Rockstar natakuc4.
    Dell Technical Support may not be able to assist with unofficial configurations such as the unofficial driver sets or installation of Windows with Retail Media.
    Microsoft Windows
    Windows 8.1
    Explanation of the OEM or Retail License (Philip Yip)
    A Clean Install of Windows 8.1 (Philip Yip)
    Download Windows 8.1 Retail and OEM .iso (Philip Yip)
    Downloading Windows 8.1 Enterprise Trial (Philip Yip)
    Customising and Using Windows 8.1 (Philip Yip)
    Obtaining your BIOS Embedded System Locked Preinstallation 25 Digit Product Key (Philip Yip)
    Installation of Windows 8.1 using a Windows 8.0 Product Key (Philip Yip)
    Dell Backup and Recovery/Alienware Respawn - Setup A New Factory Partition on A Clean Install, Create Recovery Media and Restore Using Recovery Media (Philip Yip)
    Dell Computer Support for Windows 8 Upgrade and Windows 8.1 Update (Dell ID 575111)*
    Dell Technical Support Videos for Windows 8 (Dell)
    * A number of unofficial drivers have been made for unsupported systems. See below.
    Windows 7
    Explanation of the OEM or Retail License (Philip Yip)
    A Clean Install of Windows 7 (Philip Yip)
    Download Windows 7 Retail and OEM .iso (Philip Yip)
    WSUS Offline Update - Patch Windows 7 Fully (Theres no SP2) (Philip Yip)
    The Activation Backup and Recovery Program (Philip Yip)
    Dell Backup and Recovery/Alienware Respawn - Setup A New Factory Partition on A Clean Install, Create Recovery Media and Restore Using Recovery Media (Philip Yip)
    Microsoft Windows 7 Compatible Dell Systems and System Requirements (Dell ID 273634)*
    Dell Technical Support Videos for Windows 7 (Dell)
    * A number of unofficial drivers sets have been made for unsupported systems. See below.
    Windows Vista
    Explanation of the OEM or Retail License (Philip Yip)
    A Clean Install of Windows Vista (Philip Yip)
    Download Windows Vista Retail and OEM .iso (Philip Yip)
    WSUS Offline Update - Patch Windows Vista Fully (Philip Yip)
    The Activation Backup and Recovery Program (Philip Yip)
    Dell Backup and Recovery/Alienware Respawn - Setup A New Factory Partition on A Clean Install, Create Recovery Media and Restore Using Recovery Media (Philip Yip)
    Windows XP
    A Clean Install of Windows XP (Philip Yip)
    WSUS Offline Update - Patch Windows XP Fully (Philip Yip)
    Download Internet Explorer 8 (Microsoft)
    End of Life - April 2014 (Microsoft)
    White Paper Mitigating Risk: Why Sticking with Windows XP is a Bad Idea. (IDC Analyze the Future)
    As XP is at End of Life you should avoid its use and migrate to a modern OS such as Windows 8.1 or 7. Neither Dell or Microsoft will support Windows XP. As XP is at End of Life, Dell cannot ship out any Windows XP Reinstallation CDs/DVDs. 
    Virtualisation
    Install Windows in VMware Player and Assign Hardware to the Virtual Machine
    Microsoft Office, SkyDrive and Related Programs
    Microsoft Office 2013
    Microsoft Office Product Identity Card (Philip Yip)
    Download Office 2013 (Philip Yip)
    Microsoft Office 2013 WebApps
    Office 2013 Web Apps and SkyDrive (Philip Yip)
    Download SkyDrive Desktop Application (Philip Yip)
    Microsoft Office 2010
    Microsoft Office Product Identity Card (Philip Yip)
    Download Office 2010 (Philip Yip)
    Microsoft Office 2010 Starter
    Office 2010 Starter is now obsolete and you should use the free Microsoft Office 2013 Web Apps.
    There is no official download link for Office 2010 Starter.
    Microsoft Office 2007
    Microsoft Office Product Identity Card (Philip Yip)
    Download Office 2007 (Philip Yip)
    Microsoft Office 2003
    End of Life - April 2014 (Microsoft)
    Microsoft Works
    Download Microsoft Works 9.0 (Philip Yip)
    Microsoft Mathematics
    Download Microsoft Mathematics (Philip Yip)
    This has an addin for Office 2007, 2010 and 2013.
    System Drivers
    The BIOS Update (Philip Yip)
    Checking Hardware IDs in the Device Manager in Windows Vista, 7 and 8.1 (Philip Yip)
    Driver Installation Order (Philip Yip)
    Direct Links to System Drivers: The Dell FTP Website (Dell)
    The Microsoft Update Catalog (Philip Yip)
    Driver Installation via the Device Manager (Philip Yip)
    Dell Unofficial Driver Sets (Philip Yip)
    Dimension Desktops
    Inspiron Desktops 
    Inspiron Laptops 
    Latitude D Laptops 
    OptiPlex Desktops
    Studio Laptops
    Vostro Desktops
    Vostro Laptops
    XPS Desktops 
    XPS Laptops
    Dell Wireless Cards - Hardware IDs (Philip Yip)
    Backing Up and Restoring your Windows Installation/Data
    Dell Backup and Recovery/Alienware Respawn (Philip Yip)
    Backing Up your Windows Installation Using Acronis (Philip Yip)
    Data Recovery Using Fedora (Philip Yip)
    Diagnostics
    F12 Pre-Boot Diagnostics
    Securely Wiping your System
    Securely Wipe your Hard Drive with DBAN
    Software Maintenance
    CCleaner and Defraggler
    MalwareBytes’ AntiMalware
    Recovering a Hijacked Internet Explorer

  • Question about script in sun studio creator2 and netbean6.1

    Hi, I have a quick question
    I have started a project by using sun studio creator2, the main page contains following script, it works perfectly fine.
    <script type="text/javascript">
    function getUser()
    var net = new ActiveXObject("wscript.network");
    document.getElementById('form1:hiddenField1').value = net.UserName;
    </script>
    And then I bind the field to a managed bean's property.
    However, because I need to use netbean6.1 to continue this project. I find previous script doesn't work any more. (I can get net.UserName, but I can't store the value to hiddenfield)
    I checked woodstock documentation, and guess following will do the same job
    <webuijsf:script>
    function getUser() {
    var net = new ActiveXObject("wscript.network");
    var domNode = document.getElementById('_form1:hiddenField1');
    domNode.setProps({value:net.UserName});
    </webuijsf:script>
    Once run the getUser() function, I got an "object doesn't support this property or method".
    It looks like IE security level setting problem. If it is so, because it is company setting. There is nothing I can do here.
    Any one knows workaround to store the retrived userName into hiddenfield?
    Thanks in advance!!!

    any help is appreciated

  • Sun Studio 11 and ifc

    As long as there is no Sun compiler available for linux I would like to use the intel fortran compiler since the gnu fortran compiler does not support all the language features used in our codes, yet.
    My problem is that the Sun Studio debugger is not able to read the debugging information generated by the intel compiler. Is there a way to overcome this problem or do I have to wait for the sun fortran compiler?

    dbx can read dwarf information from gcc and g++ as well as the Sun compilers, so it should be possible to read basic dwarf information
    from the Intel compiler (assuming it generates a fairly normal version
    of dwarf output).
    I can't think of any workarounds that will make Sun Studio 11
    read debug information from a compiler, if it's not properly
    supported by dbx.
    Out of curiosity, what happens when you try to load such
    a program?
    --chris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Sun Studio 12 and ESX question

    Hi,
    Can anyone tell me if I install Sun Studio 12 in a Solaris 10 x86 VM running on ESX 3.5 if my users will have any issues compiling with the AMD extensions? From what i gather at this point the the CPU features are not hidden from the VM so having an Intel based server is obviously out of the question and I must have an AMD unit, but i still have the question of whether or not the user will be able to compile with the AMD flags because they are running in a VM vs. a real host. Can anyone tell me if they have an environment like what i'm describing and what issues they might be having? Thanks in advance.

    From what I know about this kind of virtualization, you get [almost all] what CPU can give. If you are on AMD and boot Solaris kernel in 64-bit mode, then yes, you can compile with x64 extensions. But then again, it's better to ask on VMWare forums - it's not up to Solaris (or Sun Studio compiler) to provide instruction set, it's up to ESX.

  • Difference between Sun Studio 12u1 and Sun Studio Express...

    Hi,
    on my open solaris:
    SunOS opensolaris 5.11 snv_111b i86pc i386 i86pc
    I've installed Sun Studio Express to get the C/C++ compilers. What is the difference with the Sun Studio 12 suite (which is about 200 MB larger than the Express one)? Also I saw there are patches for Sun Studio 12 (last one Jul 20 2009) that might have a fix for a problem I just reported. How can I install such patches?
    Patch: http://sunsolve.sun.co.jp/search/document.do?assetkey=1-21-126498-14-1
    Cheers, Fons.

    Studio Express is a pre-release or beta release. Some features may be missing or not functional. It cannot be patched. It can be replaced by a later release.
    Sun Studio 12 update 1 is an actual, supported release, later than the most recent (as of this date) Studio Express. If you install SS12u1 from packages (using the installer GUI for example), you can download and install patches for it as they become available. (Installations from a tar file cannot be patched; they can be replaced.)

  • Diferences between Sun Studio 8 And Netbeans

    When to use one and not the other

    - Sun Java Studio 8 and NetBeans 4.1
    SJS8 is based on NB4.1 and as such provides some additional modules over NB4.1.
    NB4.1 is sufficient if you are interested in building standalone java applications and web applications against Sun Java System Application Server 8.1
    You would use SJSE8 if you are interested in the additional functionality, like UML module, support for Sun Java System Web Server 6.1 etc.
    SJS8 is essentially a companion product to Sun Java Enterprise System (http://www.sun.com/software/javaenterprisesystem/index.xml) and therefore provides, in addition to the appserver support in NetBeans 4.1, support for:
    SJS webserver
    SJS portal server (for developing portals).
    btw, webserver is support is available for NB4.1 from the update center.
    - They are both older versions. JSE8.1 (now in beta, soon to be released) is based on NetBeans 5.0 and is a companion product to the next release of JES.
    http://developers.sun.com/prodtech/javatools/jsenterprise/downloads/index.jsp
    You can use JSE8.1 for advanced features like UML and portletbuilder. (Webserver support is part of JSE8.1 but is available for NB5.0 from the update center).
    - If you are using NetBeans, consider moving to the latest version. 5.5:
    www.netbeans.org
    There are several packs available (enterprise pack for SOA support, mobility pack for developing mobile apps, c/c++ pack etc) that you can choose to install on top of NB5.5.

  • Sun Studio 12EA and Netbeans Profiler 5.5

    I was wondering if anyone was able, or if it is possible to get the Netbeans 5.5 profiler for Java working in Sun Studio 12EA. The installation into netbeans-5.5_mars seems to work fine, yet the profiling menu does not appear in Sun Studio after a restart.

    I guess you need to start netbeans directly in order to use profiler:
    $ /opt/12/netbeans-5.5_mars/bin/netbeans

  • General and specific questions on the applicability of Sun Studio 11

    Hi. In an e-mail letter from Sun Microsystems I read about Sun Studio 11 to "utilize its record-setting parallelizing compilers." From this message I was attracted by the possibility of adding something like parallel processing, not by changing the processor (hardware), but by adding Sun-Studio-11 software to a Linux operating system. Now I already have a Fortran compiler, the Intel Fortran Compiler for Linux, which is free and can handle Cray-style pointers, a feature hard to find in a free Fortran compiler.
    1a. So for the most basic of questions, without having parallel-processing hardware, just an ordinary processor [a 1-GigaHertz (GHz) Advanced MicroDevices Duron central processing unit, in my case], is it possible to have parallel processing and thereby increase one's computing speed by installing Sun Studio 11 in a Linux operating system?
    1b. If so, by what factor could one expect the speed of computation to increase over not having Sun Studio 11 installed? (If the gain in speed is dependent on the type of computations being performed, I imagine possibly using a Fortran code to perform numerical calculations using and perhaps searching for minima or maxima in a two-or-more-dimensional surface. So please give me an idea of the sort of gain in speed one could expect for these two types of activites, calculations using formulas and searches for minima and maxima among already-computed quantities.)
    1c. Again if so, how could one just by adding software have parallel processing without two or more hardware processors? In other words, what is the basic working principle of the software to make the simultaneous performance of multiple tasks (multitasking or parallel processing) possible?
    2a. Does Sun Studio 11 include a Fortan compiler?
    2b. If so, must one use it to have parallel processing with Sun Studio 11?
    2c. Or will the Intel Fortran Compiler for Linux work with Sun Studio 11 to have a parallel processing capability?
    Concerning hardware requirements I read that Sun Studio 11 requires a minimum of 512 MegaBytes (MB) of memory, presumably Random Access Memory (RAM). My Hewlett-Packard, ZE1110, Pavilion, notebook computer has 256 MB of RAM, but is expandable to a maximum of 512 MB of RAM. So in this respect it is in principle at least technically possible for me to meet the minimum system requirement for Sun Studio 11 with my computer, if I choose to increase its RAM. Somehow accommodating the cost of such a RAM addition, including whether one may have to buy two, matching, 256-MB RAM modules or just presumably one additional 256-RAM module, is another requirement. But before spending money for such an upgrade, one should first thoroughly investigate other matters to determine if other things are going to work and to determine what gain, if any, one could expect in computing speed with Sun Studio 11 and an additional 256 MB of RAM; then decide, based on such data, whether the purchase is personally worth the money or not. That's one motivation behind this posting; another motivation is for me to learn some things.
    Lastly I would like to here thank whoever was thoughtful enough to provide the Sun Download Manager (SDM) 2.0, which allows the pausing and resumption of the 207-MB download studio11-lin-x86.tar.bz2 for the Linux version of the Sun Studio 11! Using a slow, dialup, Internet connection like mine having a maximum speed of 28.8 kilobits/second, this makes it possible to download that file over a number of Internet sessions instead of having to have an uninterrupted, 19-or-more-hour Internet session. Besides the invconvenience of tying up one's telephone line for that long a time, it might be even be difficult to have such an uninterrupted Internet session for that long a time. I have at least started such a download using the SDM 2.0 potentially over multiple Internet sessions. Whether or not I carry it out to completion could depend on whether everything looks good with Sun Studio 11 for my particular situation. Thanks in advance for your help.

    Thanks for both of your postings here. I'm mostly trying to learn something here.
    From Maxim Kartashev: "For example, if one thread (or process, or lwp) frequently performs an I/O operation, then the other thread (process, lwp) can utilize processor resources to perform, say, some computations while first one waits for operation to complete."
    I think I might understand what you meant above. I guess lwp in the above context stands for light-weight process. And I think you may be talking about a potential gain in speed with just one, ordinary processor. I guess you meant that one program, or perhaps group of programs, could perform input/output processes at the same time it is performing calculations because different parts of the processor are being used in these two groups of processes. Then on "while first one waits for operation to complete" I guess you meant that if the input/output operations finish before the computations finish, then thread 1 that was performing the input/output operations will have to wait until the current computations ordered by thread 2 are complete before thread 1 can utilize the computational resources for its own computations; i.e., two threads can't use the same computational resources of an ordinary processor at the same time. How is my thinking so far, Maxim, right, partly right, or all wrong?
    Now if the above thinking of mine is right, then it appears that one could have some gain in speed doing things like you suggest with just one, ordinary processor. And if so, I imagine that the gain could be a maximum of a factor of two for a program that requires spending as much time in input and output as it does in computation; i.e., keeping both the computational and input/output resources working all of the time without the input/output resources waiting on the computational resources or vice versa. How is my thinking here?
    If the above thinking is correct, just for purposes of discussion with just one, ordinary processor, not a dual processor, and a program which does nothing but computations there would be no gain in speed using Sun Studio 11 and a Fortran compiler over not using Sun Studio 11. In other words, to increase the speed of computation one would have to buy a faster computer, buy parallel processing hardware for an existing computer and use parallel-processing software, or somehow figure out how to harness two or more computers to work for you at the same time with instructions from one piece or perhaps set of pieces of code set up for parallel processing using two or more different computers. The latter case would be a computer analogue or "two 'heads' are better than one," not human heads, but computers. How is my thinking here?
    Here I am still assuming that it is possible for one processor to be used to do two different kinds things at once. However, I don't see how one Fortran program could instruct two things to be done at once. This is because I have not seriously studied parallel processing, I suppose. That is I am used to a sequential set of instructions that proceed from top to botton down the lines of code; i.e., one instruction or line of code can't be executed until the line of code before it has been completely executed. That is the computing "world" with which I am familiar. So how about someone here teaching me with an example of parallel-processing Fortran code how parallel processing works, explaining what instruction or group of instructions tells the computer to execute input and computational instructions at the same time?
    Based on the encouraging information from one or more other people I have been able to use the Intel Fortran for Linux 8.1.024, if I remember correctly, in a computer with a 1-GigaHertz (GHz), Advanced MicroDevices (A.M.D.), Duron Processor. So this is at least one case where it is not essential to have an Intel processor to use the Intel Fortran Compiler for Linux 8.1.024.
    Is the Sun Fortran compiler free for personal use? And can it handle Cray-style pointers?

  • Sun Studio 11 do not parse make output and create link to file?

    Hi,
    Running Sun Studio 11 and can only get file links in the output window when I run a make command that uses CC -g (debug option). We have integrated other tools into our make system (flexlint, cppUnit..) and even though we make sure that the syntax is exactly the same as the compiler output and matches regular expression under tools->options->building->make settings->error expression, it doesn't work. Why do you have to debug compile to get sun studio to create a file link in the output window? Doesn't sun studio just parse the text from the make command?
    example of flexlint output for which no link is created:
    "/vobs/project/oss/fm/fm4/fm-fmalib/fmbal/fmaaulib/src/FMA_List.cc", line 440: Error 84: sizeof object is zero or object is undefined'�
    example of make debug output for which we do get a link:
    "/vobs/project/oss/fm/fm4/fm-fmalib/fmbal/SunOS5.10/inc/FMA_alarm_record.hh", line 1310: Warning (Anachronism):Info "static" is not allowed and is being ignored.
    Regards,
    Ola

    I'd second Maxim's suggestion: try NetBeans 5.5 with C/C++ Development Pack. The official release of NetBeans C/C++ Development Pack 5.5 has happened a few days ago. You can download it from
    http://www.netbeans.info/downloads/all.php?b_id=2284
    Some of the changes between the beta3 build and FCS are:
    * Significant performance improvements in the code parser resulting in faster results in the Class View and Code Completion
    * Programs now run in an external terminal (system dependent) by default. This allows better input control
    * Significant performance improvement in the debugging module
    * Significant functionality improvement in the debugging module
    * New project type "C/C++ Project From Existing Code" which simplifies creating a project from existing code
    * Macro support in code completion
    * Hyperlink navigation for macro usages and #include directives
    * Reformat code
    * Code folding
    * Code completion
    All these features will appear in next Sun Studio release, so you can
    consider NetBeans C/C++ Development Pack 5.5 as a preview of new
    Sun Studio IDE.

  • Pros and Cons of the Sun studio IDE

    Hi all,
    I have played a bit with the Sun studio now and I want to give you some feedback.
    First of all, my background. I am working in a team with about 20 developers, developing a C++ application on Solaris.
    Last time I stumbled across an installed Sun Studio 9 and gave it a try.
    Initially I was verry impressed by the great debugger- and analyzer frontends, they look nice and work well.
    After using the debugger from time to time and really enjoyed it, I thought about testing the studio for all-day work.
    So, here are my impressions and the things that keep me away from using it.
    1. The default editor isn't very usefull. For example, I missed regular expression search (and replace) and the feature to mark columns. Furthermore I really missed syntax highlightning for some other file types like sql- and config files, or even the feature to create my own. By the way, the predefined highlightning for C-files is also a bit too simple.
    2. I think the external editor plugin is a bit buggy too, because sometimes I have trash in files that I have edited before. But this can also be my fault, because I use gvim and some editor macros to do sccs-actions. I think the problems occur mainly if I use this macros. In every case the external editor is not really an alternative way for me.
    2. In our team we are using teamware as version-control tool and it does a really good job. So for Workshop 7 we have some editor macros and the teamware-tools from version 6. In the studio I have found the feature to create my own version control profiles, but this is a hard way with many tries and errors. For example I have never accomplished it to set further status information in the explorer window, it's 'Local' all the time.
    3. The studio needs very much memory, I think about 250 MB or so. This is impressive, especially if all the 20 people in our team would start sunstudio. I have found a hint somewhere in the docu that the studio can work in a client-server mode over a VNC, but I haven't tried it because I don't know what the admins would say if I start running my own VNC.
    4. After I have also tried eclipse with the cdt plugin, I really began to like the source-browser and missed it in the studio.
    5. All in all I hoped that the newest Sunstudio got a netbeans update, because some of the plugins that exists only for newer netbeans-versions would also be useful for me and my team. But, at least the latest linux-preview is also based on netbeans 3.5. Maybee do you have plans to update netbeans within the studio?
    Ok, that's all for now ;-)
    Please don't understand me wrong, I really like some features of the studio, and it's a great improvement compared with the workshop version 6 that I used before. But, at all for me the studio is still not useable in all-day work.
    P.S.
    At work I have only access to Sun studio version 9, at home I have also tried version 11, that is the reason why I mixed the version-numbers sometimes ;-)
    With kind regards,
    Maaz76

    1. The default editor isn't very usefull. For example, I missed
    regular expression search (and replace) and the feature to
    mark columns. Furthermore I really missed syntax highlightning
    for some other file types like sql- and config files, or even the
    feature to create my own. By the way, the predefined highlightning
    for C-files is also a bit too simple.The current IDE we're working on is based on a current NetBeans
    and has regular expression search (and replace). I'm pretty sure
    NetBeans 5.0 (and presumably later versions) has syntax highlighting
    for sql (its got an "SQL Editor" module which I'm guessing has the
    highlighing you're asking for).
    We're also working on many new editor features not in current
    Sun Studio IDEs. These are mostly parser based stuff like code
    completion, code folding, and a class viewer.
    2. I think the external editor plugin is a bit buggy too, because
    sometimes I have trash in files that I have edited before. But this
    can also be my fault, because I use gvim and some editor macros
    to do sccs-actions. I think the problems occur mainly if I use this
    macros. In every case the external editor is not really an alternative
    way for me.Its very difficult keeping sources in synch between netbeans and
    an external editor. If you can give us a repeatable scenario for
    failure we can take a look.
    2. In our team we are using teamware as version-control tool and
    it does a really good job. So for Workshop 7 we have some editor
    macros and the teamware-tools from version 6. In the studio I have
    found the feature to create my own version control profiles, but this
    is a hard way with many tries and errors. For example I have never
    accomplished it to set further status information in the explorer
    window, it's 'Local' all the time.We'll definately have sccs support in the next release. TeamWare
    support depends on the status of TeamWare. Sun end-of-lifed it
    4 years ago. As long as its EOL'ed, we won't support it. But if it
    were officially brought back, we'd (most likely) support it.
    3. The studio needs very much memory, I think about 250 MB
    or so. This is impressive, especially if all the 20 people in our team
    would start sunstudio. I have found a hint somewhere in the docu
    that the studio can work in a client-server mode over a VNC, but I
    haven't tried it because I don't know what the admins would say if
    I start running my own VNC.The VNC model shouldn't help on memory. How do you use the IDE
    now? Do each of your 20 developers have Solars desktops? I'm
    guessing they don't since you're talking about 20 users on one
    system. The VNC approach runs all 20 IDEs (assuming all 20
    developers are concurrently running the IDE) on the server machine.
    So VNC won't help in that case.
    On the other hand, if the 20 developers have Windows PCs on their
    desktop then the next IDE should help substantially. We're working
    on having the IDE run locally on your desktop, and do remote building
    and debugging on your Solaris server. This puts most of the IDE
    overhead on your desktop rather than the server. This should be
    a much better model for multi-user development where Solaris
    developers don't have Solaris desktops.
    4. After I have also tried eclipse with the cdt plugin, I really began
    to like the source-browser and missed it in the studio.We're planning on some browser capabilities. Some are in the
    planning stages and others aren't even that far along. But we are
    getting repeated inquiries about a source browser.
    5. All in all I hoped that the newest Sunstudio got a netbeans
    update, because some of the plugins that exists only for newer
    netbeans-versions would also be useful for me and my team. But,
    at least the latest linux-preview is also based on netbeans 3.5.
    Maybee do you have plans to update netbeans within the studio?Well, each major netbeans release has had so many internal
    changes its been difficult keeping up. Our next release is planning
    to be much more in synch with NetBeans releases. We're doing
    current development on the NetBeans trunk (currently thats targeting
    the NetBeans 6.0 release).
    Gordon

  • Sun Studio 11 on Linux: newbie needs help playing the Temple of the Sun

    Hi!
    I've installed Sun Studio 11 on Mandriva 2007.1 Free edition. I would like to play the Temple of the Sun game but the building process fails consistently.
    I tried to follow the instructions on the following page
    http://developers.sun.com/sunstudio/learning/temple_faq.html#
    but still no joy.
    The wizards throughout the building process request much more parameters than those indicated on the FAQ page.
    This is the makefile
    ## -- Makefile --
    ## User: complex
    ## Time: May 18, 2007 12:00:44 PM
    ## Makefile created by Sun Studio.
    ## This file is generated automatically.
    #### Compiler and tool definitions shared by all build targets #####
    CC = gcc
    BASICOPTS = -g
    CFLAGS = $(BASICOPTS)
    # Define the target directories.
    TARGETDIR_String=GNU-i386-Linux
    all: $(TARGETDIR_String)/String
    ## Target: String
    OBJS_String = \
         $(TARGETDIR_String)/cEmptyFile.o
    # Link or archive
    $(TARGETDIR_String)/String: $(TARGETDIR_String) $(OBJS_String) $(DEPLIBS_String)
         $(LINK.c) $(CFLAGS_String) $(CPPFLAGS_String) -o $@ $(OBJS_String) $(LDLIBS_String)
    # Compile source files into .o files
    $(TARGETDIR_String)/cEmptyFile.o: $(TARGETDIR_String) cEmptyFile.c
         $(COMPILE.c) $(CFLAGS_String) $(CPPFLAGS_String) -o $@ cEmptyFile.c
    #### Clean target deletes all generated files ####
    clean:
         rm -f \
              $(TARGETDIR_String)/String \
              $(TARGETDIR_String)/cEmptyFile.o
         rm -f -r $(TARGETDIR_String)
    # Create the target directory (if needed)
    $(TARGETDIR_String):
         mkdir -p $(TARGETDIR_String)
    # Enable dependency checking
    .KEEP_STATE:
    .KEEP_STATE_FILE:.make.state.GNU-i386-Linux
    Below is the output of make
    dmake -m serial -f "/home/complex/.sunstudio/11-Linux-Intel(R) Pentium(R) 4 CPU 1.50GHz/sampledir/ts.c/Makefile" GNU-i386-Linux/String
    mkdir -p GNU-i386-Linux
    gcc -g -c -o GNU-i386-Linux/cEmptyFile.o cEmptyFile.c
    ts.c/cEmptyFile.c [2] warning: data definition has no type or storage class
    cEmptyFile.c: In function �main�:
    ts.c/cEmptyFile.c [3] warning: �a� is narrower than values of its type
    gcc -g -o GNU-i386-Linux/String GNU-i386-Linux/cEmptyFile.o
    Build Successful
    Total time: 0 seconds
    When I execute, it says "unexpected exception has occurred".
    Could someone more successful with this game please provide more detailed instructions on how to proceed?
    I should get a string somehow which I should paste into the answer window on the game page.
    Thanks a lot in advance.

    Hi
    CC = gccYou are using gcc. Switch to using the Sun Studio toolset, and all should be well.
    Paul

  • Installing Sun Studio 12 on Ubuntu 8.04

    When I try to install Sun Studio 12 with the graphical installer, I get a message half was through that Java is not installed. In my case Sun's Java was already installed. I tell the Sun Studio installer to do the update and it finished what it was doing. After the install is done, I found that the Sun Studio executable is missing, so it looked like the installation did not work. What version of Java is Sun Studio expecting and does it need to be tied to a specific path? Is there a known method for installing Java for Sun Studio 12?
    After this I uninstalled Java and Netbeans and started the system prep tool, which correctly said I was missing netbeans and java. I had the system prep tool install netbeans successfully but I get this message when trying to install java:
    error: Failed dependencies:
    glibc >= 2.1.2-11 is needed by jdk-1.5.0_09-fcs.i586
    sh-utils >= 2.0-1 is needed by jdk-1.5.0_09-fcs.i586
    fileutils >= 4.0-8 is needed by jdk-1.5.0_09-fcs.i586
    gawk >= 3.0.4-1 is needed by jdk-1.5.0_09-fcs.i586
    textutils >= 2.0-2 is needed by jdk-1.5.0_09-fcs.i586
    /bin/sh is needed by jdk-1.5.0_09-fcs.i586
    Any suggestions?

    I could not find any log files with error information from Express or Sun Studio 12. Any ideas?Not yet :-) Can you try to build and debug a sample project? Does it show the same problem?
    I mean one of several sample projects, that are shipped with the Sun Studio IDE.
    Start "sunstudio", from main menu: "File->New Project", select Samples->C/C++/Fortran->Welcome
    Did you try to run compilers and other tools?
    Please, make sure they work. For example, run the following commands:
    cc -V
    CC -V
    f90 -V
    collect -V
    dbx -V
    dmake -v
    (Note: the last one is small "v")

  • Openmp Multithread programing in Sun Studio 12

    Hello Folks,
    My name is Glauber, I'm begging in openmp programming.
    I'm doing some tests with Sun Studio 12 and c++ language, then I'd like to run a helloworld.cc code using 4 threads but I get only 1 thread.
    I've used "omp_set_num_threads(4)" inside my code but, even so, I don't get more than 1 thread.
    Could an openmp expert help me?
    Cheers,
    Glauber

    This should help:
    omp_set_dynamic(0);Alternatively you can set OMP_DYNAMIC environment variable to FALSE.
    This will command openmp runtime to stop being smart and not adjust user-specified threadnum value.
    regards,
    __Fedor.

  • Code generation bug in Sun Studio 12

    Hi,
    The following program prints `Failure' when compiled with -xO4 where nothing should be printed (when compiled with no optimization or -xO2). It looks to me that the first comparison `buggy_routine' against 0x80 is returning True where it should return False.
    #include <stdlib.h>
    #include <stdio.h>
    typedef unsigned long long int      EIF_NATURAL_64;
    typedef unsigned char   EIF_BOOLEAN;
    typedef int EIF_INTEGER_32;
    typedef char * EIF_REFERENCE;
    char s[] = "9223372036854775808";
    void buggy_routine (EIF_REFERENCE Current, EIF_NATURAL_64 arg1)
        EIF_NATURAL_64 tu8_1;
        tu8_1 = (EIF_NATURAL_64) ((EIF_INTEGER_32) 128L);
        if ((EIF_BOOLEAN) (arg1 <= tu8_1)) {
        } else {
            if ((EIF_BOOLEAN) (arg1 <= ((EIF_NATURAL_64)  9223372036854775808ull ))) {
            } else {
                  printf("Failure\n");
    int main (int argc, char ** argv, char **envp ) {
        EIF_NATURAL_64 loc2 = (EIF_NATURAL_64) 0;
        loc2 = (EIF_NATURAL_64) atoll(s);
        buggy_routine ("s", loc2);
    }To reproduce:
    cc -xO4 bug.c -o bug ; ./bug
    It fails on both 32 and 64-bit code generation for x86. I haven't tried on Sparc as I need to install Sun Studio 12. Is this a known issue? Is there an easy workaround?
    I tried with Sun Studio 11 and it worked just fine there.
    Regards,
    Manu
    PS: I've tried with both version (the first is the one from the default installation) and the second after I noticed there were some patches available:
    cc: Sun C 5.9 SunOS_i386 Patch 124868-01 2007/07/12
    cc: Sun C 5.9 SunOS_i386 Patch 124868-02 2007/11/27

    An issue filed at bugs.sun.com does not go directly into the bug database. It is evaluated, and if it turns out the report is actually a bug not previously reported, goes into the database. You get a notification and chance to reply after the report is evaluated.
    In this case, I picked up your report myself, and filed the bug. The bug ID is 6654314, and will be visible at bugs.sun.com in a day or two.

Maybe you are looking for