A few related comments are available here:

http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/Makefile.master

around line 400.

Since -W options are undocumented and pretty much unsupported, (unless
you're a very special customer, like the OpenSolaris team) I would
recommend that every -W option be commented with a reference to an
open bugid either against the compiler (to fix a compiler bug), or
against Solaris (to fix the source).   Without specific bugids, nobody
will know when the -W option is no longer necessary.

--chris


Beauregard, Daniel wrote:
> We have some obscure build flags in our system that were added in the
> past and have always "just worked".  But I haven't been able to find out
> what they really do.  We are now trying to do a flag audit of sorts.
> They are all passing flags to internal tools, but I don't know what the
> effects are.  Can anyone offer any pointers?
> 
> -W0,-noglobal (passed to acomp)
> -W0,-Lt (passed to acomp)
> -Wc,-Qiselect-regsym=0 (passed to cg)
> -W2,-Rcond_elim (passed to iropt)
> -Ws,-xsafe=unboundsym (passed to ??)
> -Wx,-Qiselect-T1 (passed to ??)
> 
> Thanks,
> Daniel
> 
_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org

Reply via email to