No C99 On Solaris 10
807578Aug 27 2009 — edited Sep 3 2009Hello. I just performed a clean install of Solaris 10 and Sun Studio 12. Despite this, I cannot compile C99 code. If I try to use c99, I get a message similar to, "c99 utility unavailable SunOS 5.10". Using cc-5.0 with various -xc99 flags, I get an error saying, "c99 is not available SunOS 5.10".
Why will it not work? I included the SunOS Header Files package in the Solaris installation. I can even see them in my /usr/include directory. Yet, I cannot compile with C99 enabled. If I use the -xc99 flag, it has to be set to no_lib. And then, I still cannot compile C99 code.
What am I missing? What do I need to do to get C99 functionality?