Skip to content

Commit

Permalink
Updated instructions for ndk-r13b; removed bsd_signal warning as it d…
Browse files Browse the repository at this point in the history
…oesn't seem to be an issue anymore
  • Loading branch information
buffer51 committed Jan 21, 2017
1 parent e444681 commit 760fb01
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,13 @@ scripts. A few modifications are still required, and the building process takes

### Goals & environment

This tutorial aims at building the **GNU toolchain 4.9** with **Android NDK r12b**.
This tutorial aims at building the **GNU toolchain 4.9** with **Android NDK r13b**.
It has been tested on Linux x86_64, but I expect that it should work with
small changes on other systems supported by the NDK.

Past versions of this README covered building with **Android NDK r11c & r12b**.
Please refer to those for special instructions.

### Windows

Although the NDK supports Windows (32-bit & 64-bit variants), the
Expand Down Expand Up @@ -62,7 +65,8 @@ repo init -u https://android.googlesource.com/platform/manifest -b gcc
```

You can then use `repo sync` to clone all parts of the toolchain,
and `repo forall -c git checkout ndk-r12b` to checkout the r12b version.
and `repo forall -c git checkout ndk-r13-release` to checkout
the latest r13 version.

#### Adding support for Fortran

Expand Down Expand Up @@ -131,10 +135,3 @@ using `ndk-build`), do the previous step, and then follow
[this guide](https://developer.android.com/ndk/guides/standalone_toolchain.html).
You will want to specify which API level you want to use. It is safe to always
use the latest available, even if you are targetting older devices.

**Warning:** There is currently (NDK r12b) an issue with a missing implementation
of `bsd_signal`(see [here](https://github.com/android-ndk/ndk/issues/160),
[here](http://stackoverflow.com/questions/36746904/android-linker-undefined-reference-to-bsd-signal)
and finaly [#5](https://github.com/buffer51/android-gfortran/issues/5)).
If you plan on building a library that uses that function
(e.g. OpenSSL, OpenBLAS with LAPACK, ...), use **API level 19**.

0 comments on commit 760fb01

Please sign in to comment.