Update ReadMe for Icaros & note on static linking

This commit is contained in:
Brian Cox 2016-04-04 09:41:24 -07:00
parent ecc43050f9
commit 4e3e002b52
1 changed files with 10 additions and 3 deletions

View File

@ -49,16 +49,23 @@ Other
- Syllable 0.67 + gcc 4.1.2
- SkyOS 5 (beta 6947) + gcc 4.1.1
- Sortix 1.0 + gcc 5.3.0
- Icaros 2.1 (AROS) + gcc 4.6.4
Building Notes:
* If cross compiling, a --disable-openssl argument must be passed to ./configure,
* If cross compiling, a '--disable-openssl' argument must be passed to ./configure,
since its OpenSSL existence check currently uses an AC_TRY_RUN macro.
* The '--enable-static' configure argument is not guaranteed to work on all
platforms, and your mileage may vary. And when it works, it may not be doing
what you expect. For example, even if a program is statically linked with
glibc, the static glibc code may still load shared libraries behind the
scenes, for things like iconv character conversion and nsswitch name lookups.
* Recent Android versions may require additional compiler & linker arguments:
“-fPIE" in CFLAGS and "-fPIE -pie" in LDFLAGS. It's simplest to add these
“-fPIE" in CFLAGS and "-fPIE -pie" in LDFLAGS. It's simplest to add these
to configure.in and run autoreconf -i instead of hand-editing each Makefile
individually.