📄 platform.notes.txt
字号:
platform.notes.txt==================This file contains information about installing SafeTP that isparticular 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.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -