[bind10-dev] compiling with SunStudio12.1
Jeremy C. Reed
jreed at isc.org
Wed Jun 23 17:55:44 UTC 2010
On Wed, 23 Jun 2010, JINMEI Tatuya / ???? wrote:
> > # OS dependent compiler flags
Okay I should have read that again.
> > case "$host" in
> > *-solaris*)
> > CPPFLAGS="$CPPFLAGS -D_XPG4_2 -D__EXTENSIONS__"
> > ;;
> > esac
Why were these two definitions needed now? (Since I was already doing
solaris builds fine I thought.)
> > 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)
Okay, I am looking...
More information about the bind10-dev
mailing list