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 ?

