Where can I find the right doc for SunStudio For Linux ?

I can find the docs for SunStudio here, http://docs.sun.com/app/docs/doc/819-5265/6n7c29ck9?a=view
but it seems that it doesn't right on linux platform.
#include <stdio.h>
int main(void)
#if defined(sun)
        printf("sun defined \n");
#else
        printf("sun undefined \n");
#endif
#if defined(unix)
        printf("unix defined \n");
#else
        printf("unix undefined \n");
#endif
#if defined(sparc)
        printf("sparc defined \n");
#else
        printf("sparc undefined \n");
#endif
#if defined(i386)
        printf("i386 defined \n");
#else
        printf("i386 undefined \n");
#endif
#if defined(__sun)
        printf("__sun defined \n");
#else
        printf("__sun undefined \n");
#endif
#if defined(__unix)
        printf("__unix defined \n");
#else
        printf("__unix undefined \n");
#endif
#if defined(__SUNPRO_C)
        printf("__SUNPRO_C defined \n");
#else
        printf("__SUNPRO_C undefined \n");
#endif
#if defined(__sparc)
        printf("__sparc defined \n");
#else
        printf("__sparc undefined \n");
#endif
#if defined(__i386)
        printf("__i386 defined \n");
#else
        printf("__i386 undefined \n");
#endif
#if defined(__SVR4)
        printf("__SVR4 defined \n");
#else
        printf("__SVR4 undefined \n");
#endif
        return 0;
}[luoyi@qpd06 test]$ suncc -o test test.c
[luoyi@qpd06 test]$ ./test
sun undefined
unix defined
sparc undefined
i386 undefined
__sun undefined
__unix defined
__SUNPRO_C defined
__sparc undefined
__i386 undefined
__SVR4 undefined
where can I found the correct docs for SunStudio For Linux ?

You can refer to cc man pages. Here is about predefinitions:
Predefinitions:unix
sparc (SPARC)
i386 (x86)
sun
The above are not predefined in -Xc mode.
These predefinitions are valid in all modes:
__BUILTIN_VA_ARG_INCR
__SUNPRO_C=0x590
__SVR4(SPARC)
__SunOS(Solaris)
__SunOS_OSN.N(Solaris)
__amd64(x86 with-m64)
__gnu__linux(linux)
__i386(x86)
__linux(linux)
__linux__(linux)
__sparc(SPARC)
__sparcv9(with-m64)
__sun(Solaris)
__unix
__�uname -s�_�uname -r�
__x86_64(x86)
linux(x86,linux)
The following is predefined in -Xa and -Xt modes only:
__RESTRICT
The compiler also predefines the object-like macro
__PRAGMA_REDEFINE_EXTNAME,
to indicate the pragma will be recognized.
...

Similar Messages

  • HT5766 Where can I find the size of a download for a software update now?

    Hello,
    Where can I find the size of a download for a software update now?
    Since I upgraded to Mountain Lion (Mac OSX 10.8.3) this information is no longer available in software updates listing you get if you click on the Software Update menu item from the Apple menu.
    I found the download size (often hundreds of megabytes for an individual update and sometimes a set of updates might amount to a few gigabytes) to be very helpful, and now that it seems no longer available (I can't even see it on the web page I came to for more information, thinking the download size would surely be specified there), it is frustrating. My current example is iTunes 11.0.3
    I would greatly appreicate having this information back in the software updates listing, but since it is no longer available there, and I don't know where else to find it, if anybody can enlighten me to its whereabouts, I'd be grateful.
    Thanks and cheers!

    stewedapples wrote:
    I would greatly appreicate having this information back in the software updates listing, ...
    You can leave Feedback for Apple here...
    http://www.apple.com/feedback/
    stewedapples wrote:
    ... I don't know where else to find it...
    http://support.apple.com/downloads/#

  • Where can I find the right LIB_DBSL.SAR??

    hi all,
        I want to connect to the other DBMS.The detail is: my BI application server DBMS is oracle, it  runs on linux,64 bit,and the target DBMS is MSS 2000.
        The question is where can I  find the right LIB_DBSL.SAR,could you give me a link address?
        Thx..

    Hi,
    You need to log in to  service marketplacewith S userID& password. After logging into SMP, we need to find the relevant Database to find the Shared libraries that is LIB_DBSL.SAR file & then need to unarchive in order to load the DB dependent shared libraries.
    Regards
    Venkat

  • Where can I find the backup files in iTunes for my iPhone, I want a copy

    Where can I find the backup files in iTunes for my iPhone, I want to copy the backup files for all app's and phone numbers, I'm using Windows XP
    I just need to know where its hiding, a link that shows an address where would sure help

    First you'll need to make sure your XP is set up to view hidden files and folders.
    1. Open My Computer from the desktop or Start menu.
    2. In the Tools menu, click Folder Options.
    3. Click the View tab.
    4. In the "Advanced settings" pane under "Hidden files and folders" make sure that the "Show hidden files and folders" option is selected.
    5. Click OK.
    Now you should be able to track down your backup file at the location in the following document:
    [iTunes: "Backup could not be saved on the computer" alert message|http://support.apple.com/kb/TS2529]

  • Zoplaza gave me a wrong serial number. Where can I find the right one?

    Zoplaza gave me a wrong serial number. Where can I find the right one?

    from whoever sold you your software.

  • Qosmio F10 with replaced mainboard: Where can I find the right drivers?

    Hello guys,
    Toshiba service replaced the board with a new one including a geforce 6600 gpu on my F10. So, now I formated the laptop and I want to put again back everything to work. But I see now that there are some different devices, like the 6600go gpu.
    Where can i find the drivers (lan, chipset, modem..etc.) On the toshiba web site? If i choose qosmio F10 downloads, I get the drivers for the old motherboard (and graphics card 5700).
    Anyone knows where to get the right drivers? thanks!

    Hello
    Check please THIS page.
    I presume that chipset driver and also LAN driver are the same.

  • Where can i find the BI Java Connector Files (for example: bi_sdk_jdbc.rar)

    Hi,
    where can i find the BI Java Connector Files:
    bi_sdk_jdbc.rar
    bi_sdk_xmla.rar
    bi_sdk_sapq.rar
    bi_sdk_odbo.rar
    Can anyone help me?

    hi Christian,
    these files should be included in bi java sdk
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/78b3db58-0501-0010-b895-f75cd8fdf674 [original link is broken]
    hope this helps.

  • Where can i find the Java doc API for Sun Portal 6.2

    Hi
    I am looking for the java doc api for portal.. for e.g, i want to know the available classes under com.sun.portal.providers.util and method details under that..
    Thanks
    Ramesh

    There should be a file called javadocs.jar in your portal installation directory. Either under SUNWps/sdk or SUNWps/export.
    - Jim

  • Where can I find the Billing Doc. Header Text SO10 text name?

    I have to write some logic in the billing document header text “country of origin”.
    VF02-- GOTO-- HEADER---HEADER TEXT----- COUNTRY OF ORIGIN.
    When a billing document is created it automatically creating the header text with the following details:
    Name :                       Billing doc number
    Language : EN
    Text ID:        ZD17
    Text object : VBBK.
    I need to find the SO10 text name from which the above dynamic text is generating, so that I can change the code in the original text..
    I searched in the SCN and found the Tcode VOTXN.
    I went to this tcode and selected the Billing Doc. Header Radio button.
    And I found the Access sequence number corresponding ID(ZD17-country of origin)
    When I gone through the sequence number I found one SO10 text name, but that is not the right SO10 name because the contents are totally deferrent.
    is there any way to find the SO10 text name, or did I went to any wrong path...
    please help me..
    Regards,
    Ramesh

    Double on the right hand side and Click on Goto-> Header for the Name and object details.

  • Where can I find the user key precedence hierarchy for each record type?

    Example: I want to update contact records through the CRMOD web service API.
    So I'm looking at the "Oracle Web Services On Demand Guide, Version 6.0 (released August 2010)", page 316, and it lists 3 user keys for Contact.wsdl v2.0 in the following order:
    1. FirstName and LastName
    2. Id
    3. ExternalSystemId
    From what I can see, this order does not seem to reflect the precedence hierarchy of these 3 user keys.
    I've send in a test update where I supplied a FN, LN, and EUID, ... and the contact that matched the EUID got updated.
    (I'm glad it did, because EUID really needs to take precedence over FN+LN, otherwise you could never change a contact's last name without knowing the contact's Row Id.)
    Does anyone know where I can find the precedence hierarchy for each record type's user keys (other than doing the obvious and time consuming "try+error")?

    Hi,
    we experienced similar problems with the account object and asked the oracle support about this. This was their answer:
    "[...] thank you for contacting CRM On Demand Customer Care. Regarding your question, please note the below: when perfoming a query, the user key fields are looked for in this order: - Row id - External System Id - AccountName and Location. Basically, the search will be performed by AccountName and Location only when the other fields are missing. This is an expected behavior because, the Row Id is the strongest filter as it is always unique. The external system Id comes second, as it is supposed to be unique in another system."
    So, I guess the order is always
    1) Row Id
    2) External System Id
    3) specific field combinations...
    kind regards
    Kai
    Edited by: Kai Hartmann on 28.04.2011 07:10

  • Where can I find the free Snow Leopard upgrade for Mobile Me customers?

    I stopped by my local Apple Store yesterday and asked about purchasing Snow Leopard for my macbook.  I am a mobile me subscriber and I was told that there is a free upgrade available on apple.com.  I have searched, but cannot find the form to fill out to receive my disk.  Anyone know where I can find the application?
    Thanks!
    jbark9

    Sorry, but that offer expired already. Mobile Me has shut down. You can still purchase Snow Leopard from Apple's Online Store - $29.00.

  • Where can i find the multimedia touch screen software for ideapad-s10-3t

    i have and ideapad-s10-3t and i had to format it but now im looking for all the software from lenovo that came with it like the multimedia that work with the touchscreen i alredy finde the  directshare veryface verytouth 

    Hi and welcome...
     these drivers S10-3t  available at download...
    some software isnt offered to download...
    regards KalvinKlein
    Thinkies 2x X200s/X301 8GB 256GB SSD @ Win 7 64
    Ideas Centre A520 ,Yoga 2 256GB SSD,Yoga 2 tablet @ Win 8.1

  • Where can I find the iPhone Web Configuration util for Windows?

    Hi,
    Struggling at the moment with the iPhone Config Util v2 on Windows - I can't get our Exchange account settings to stick. I have previously used the web configuration and that worked everytime, but now I've lost my installation somewhere. Saying that, that was on v1/v2 iPhones.
    Where can I download this older utility?
    Is there an issue with the new configuration util and v3 phones? Does the new configuration work with self-signed certificates? Ours just seems to report authentication errors when trying to set the profile up.
    Any ideas?
    Neil

    I just contacted Fedex and they advised that a MSDS is not required with shipments of iPhones to/from the US.

  • Where can i find the license subscription end dates for the licenses we've purchased?

    I am the admin for our Cloud team.  Is there a place under my login where i can see the start/end dates of the licenses we've purchased?
    Thanks.

    https://www.adobe.com/account.html for your Adobe orders page... or
    manage your team account http://forums.adobe.com/thread/1460939?tstart=0

  • What ist the "architecture" of a laptop and where can I find the right one

    I have an older Satellite laptop (1800-750) and I am trying to install Linux on it. The problem is that their are different downloads depending from the "architecture" of my computer . Sparc, PowerPc, Intel what ever...
    Can somebody explain me what it is and how I can find out which "architecture" my laptop has???
    Link:[http://www.debian.org/releases/stable/installmanual]
    Thanks in advance,
    Amarabay

    Some architectures are not known to me like Alpha, SPARC,
    But for your Satellite 1800-750 you need the Intel x86 version. This version is for all PCs with 32bit CPU.
    The AMD64 is for notebook and PCs with AMD64 CPU and as far as I know the Intel IA-64 for new Intel CPUs with 64bit support.
    All other version are not known to me but the Intel x86 version should work on your laptop.

Maybe you are looking for