usr/src/tools/protocmp/* should use __x86 for intel platform
files at usr/src/tools/protocmp/* should use __x86 for intel platform.
we have problems with __i386 and i386 defines on 64bit compilers, because we have defined __amd64 or amd64.
Updated by Igor Kozhukhov almost 10 years ago
- % Done changed from 80 to 100
I have tested builds of tools by 64bit compiler.
I have made wrapper for it with translate build line:
/usr/gcc/4.4/bin/gcc => /usr/gcc/4.4/bin/gcc -m64
This scheme be able to use 64bit compiler instead of 32bit.
64bit compiler have defined __amd64 & amd64 instend of 32bit: __i386 & i386.
We have __x86 define on '#include <sys/isa_defs.h>' for 32 and 64 bit systems for Intel.
I have checked my build with standard SunStudio and gcc44 - works well with my modifications - no regressions.