-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathBUILDING-CONFIG-NOTES
43 lines (38 loc) · 1.99 KB
/
BUILDING-CONFIG-NOTES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Please read "BUILDING" FIRST!
These are notes on the very first time the configurations "config.h"
were generated.
There should be no need to reapply these after a code/version drop
as the config.h files should be untouched.
------------------------------------------------------------------------------
# ${SRC_ROOT}/${RSYNC}/app/src/main/cpp/rsync/config.h
------------------------------------------------------------------------------
- armv7: extra "#define _FILE_OFFSET_BITS 64"
which can be added to the 64 bit versions without any issue. Done.
- armv7 versus 64 using #if defined(__aarch64__) || defined(__x86_64__ ) ...
#define HAVE_LONG_DOUBLE 1 <==> absent
#define HAVE_LONG_DOUBLE_WIDER 1 <==> absent
#define SIZEOF_CHARP 8 <==> 4
#define SIZEOF_LONG 8 <==> 4
#define SIZEOF_TIME_T 8 <==> 4
------------------------------------------------------------------------------
# ${SRC_ROOT}/${RSYNC}/app/src/main/cpp/dropbear/config.h
------------------------------------------------------------------------------
- aarch64 and x86_64 were identical
- armv7: extra "#define _FILE_OFFSET_BITS 64"
which can be added to the 64 bit versions without any issue. Done.
------------------------------------------------------------------------------
# ${SRC_ROOT}/${RSYNC}/app/src/main/cpp/openssh/config.h
------------------------------------------------------------------------------
- aarch64 and x86_64 were identical
- armv7: extra "#define _FILE_OFFSET_BITS 64"
which can be added to the 64 bit versions without any issue. Done.
- armv7 versus 64 using #if defined(__aarch64__) || defined(__x86_64__ ) ...
#define SIZEOF_LONG_INT 8 <=> 4
#define SIZEOF_TIME_T 8 <=> 4
- added manually:
// configure presumes openbsd only, but android needs it.
#define HAVE_ATTRIBUTE__SENTINEL__ 1
// configure fails to find it due to android using an "#include_next"
#define HAVE_MALLOC 1
// see "openbsd-compat/explicit_bzero.c" workaround
#define HAVE_BZERO 1