" From: "a b" <tripivceta@hotmail.com>
"
" >[]
" >1. buildsunos line 94: needs to be changed to:
" >XARCH64_i386="$XARCH32 -fast -xarch=amd64 -xmodel=kernel"
"
" Don't use -fast. -fast expands to some very specific CPU flags and uses the
" []
" Instead, I recommend the following switches:
"
" i86pc:
" -xO4 -xipo=2 -xbuiltin=%all -xlibmil -xlibmopt -xarch=generic
"
" sparc:
" -xO4 -xipo=2 -xlinkopt=2 -xbuiltin=%all -xlibmil -xlibmopt -xarch=generic
i'd like to see both lines in the makefile, with the 'fast' one
commented out and including a note that it produces efficient but
non-portable code. there are times when you need portability, but
there are times when you need efficiency.
perhaps various non-portable switches could be determined
automatically by uname output or the like. considering all the
platforms ipfilter supports, this is probably too much complexity
though.
________________________________________________________________________
Andrew Hay the genius nature
internet rambler is to see what all have seen
adh@an.bradford.ma.us and think what none thought
|