[bind10-dev] compiling with SunStudio12.1

JINMEI Tatuya / 神明達哉 jinmei at isc.org
Wed Jun 23 17:02:56 UTC 2010


At Wed, 23 Jun 2010 08:13:04 -0500 (CDT),
"Jeremy C. Reed" <jreed at isc.org> wrote:

> For the following ...
> 
> # OS dependent compiler flags
> case "$host" in
>         *-solaris*)
>                 CPPFLAGS="$CPPFLAGS -D_XPG4_2 -D__EXTENSIONS__"
>                 ;;
> esac
> 
> Should it also define CXXFLAGS='-library=stlport4 -features=tmplife 
> -features=tmplrefstatic'  ?

We need to add them somewhere in configure.ac, but these are not "OS
dependent" flags, but "compiler dependent" ones.  So we need a way to
detect that's a SunStudio compiler.  We can probably use the technique
described here:
http://wikis.sun.com/display/SunStudio/Using+Sun+Studio+for+open+source+apps
(not tried yet)

---
JINMEI, Tatuya
Internet Systems Consortium, Inc.



More information about the bind10-dev mailing list