Roland Mainz wrote:
> Why (quick look at cc(1) shows that "-xbuiltin" seems to support only
> "%all" and "%none" as values and not function names... is that correct
> ?) ? 

The recommendation I've gotten from multiple people on the Solaris side
is that for code being distributed to run on a wide range of machines
(like say, Solaris consolidations/packages), you normally want to use
-xbuiltin=%none, so that you get the libc versions tuned for the specific
hardware capabilities of the given machine, instead of the
lowest-common-denominator builtin, and that -xbuiltin=%all makes sense
mostly in the cases where you know the exact target platform, much like
-xtarget=native or -fast (which includes -xbuiltin=%all).

-- 
        -Alan Coopersmith-           alan.coopersmith at sun.com
         Sun Microsystems, Inc. - X Window System Engineering


Reply via email to