> export CPPFLAGS=-I/opt/sun/sunstudio12/prod/include/CC \
> -I/opt/sun/sunstudio12/prod/include/CC/Cstd \
> [ + add more includes here ]

No, you should never set any -I, -L or -R flag to paths inside the sunpro 
installation. The only thing you may want to add is appropriate -l flags (or 
-library=...) when building C++ libraries because by default CC does not link 
with Cstd and Crun for shared objects. All the rest can only confuse the 
compiler.
--
This message posted from opensolaris.org

Reply via email to