platform.notes.txt
来自「伯克利做的SFTP安全文件传输协议」· 文本 代码 · 共 40 行
TXT
40 行
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 + =
减小字号Ctrl + -
显示快捷键?