platform.notes.txt ================== This file contains information about installing SafeTP that is particular to various platforms. Solaris x86 ----------- I had to replace 'gcc -c' with 'gas' in mpn/Makefile (after configuring) to build GMP. (gcc was reporting assembler syntax errors.) Linux 2.0.0, gnu libc --------------------- __STRICT_ANSI__ The gnu libc headers like to #define all of BIG_ENDIAN, LITTLE_ENDIAN, PDP_ENDIAN, and BYTE_ORDER, and then do endnianness tests of the form LITTLE_ENDIAN == BYTE_ORDER, etc. This clashes with SafeTP's use of LITTLE_ENDIAN and BIG_ENDIAN, where one should be #defined and the other not #defined. The __STRICT_ANSI__ macro tells various files to not #define strange things, so they avoid clashes like this one. I *don't* want the full implications of '-ansi' (I believe), so I define the macro directly. Compile Warnings Linux (others?) has a signed 'int*' type as the third parameter to accept(), getsockname(), and getpeername(), whereas most others have this as unsigned. Rather than dirty the code to solve this, I just let the warnings happen.