Christian Thalinger wrote:
> Maybe someone else knows how to print them with SunCC...

I usually use "man cc" and search down to the -D entry, which lists
(for Studio 12):
                   __BUILTIN_VA_ARG_INCR
                   __SUNPRO_C=0x590
                   __SVR4(SPARC)
                   __SunOS(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`(Solaris)
                   __x86_64(x86)
                   linux(x86,linux)

You can also see many of them passed as -D flags when you add
the -### flag to the cc command line.

-- 
        -Alan Coopersmith-           alan.coopersmith at sun.com
         Sun Microsystems, Inc. - X Window System Engineering


Reply via email to