Just compiling now... however there are a couple of changes required
to make a 64bit compile for amd64.
Would it please be possible to get these tweaks included permanently..?
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
SSE2 instructions. Code generated with -fast is optimized for the CPU and
platform it runs on. While this might be fine for private purposes, if you
ever intend distributing your compiled IPFilter, chances are very high it
won't run on other CPUs and systems, since -fast expands to -native, and
that uses CPU specific instructions.
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
Note that -xarch=generic generates 32-bit binaries on both i86pc and sparc.
This covers the widest possible array of processors and architectures.
Also note that I didn't use -xO5. While this is the highest level of
optimization, the documentation states that this level of optimization makes
a lot of assumptions and optimization algorithms which might or might not be
correct, and that -xO5 should be used in tandem with a feedback profile.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/