mirror of
https://github.com/CoderSherlock/CoderSherlock.github.io.git
synced 2026-06-13 08:08:10 -07:00
Fix_some_layouts
This commit is contained in:
@@ -108,23 +108,26 @@ $ sudo apt-get install pkg-config automake autoconf libtool
|
||||
|
||||
<h3 id="link-with-standalone-tool-chains">Link with standalone tool-chains</h3>
|
||||
|
||||
<p>In order to build standalone tool-chains, we need first to export following system environment. After doing that, we can use following command to build a standalone tool-chains from downloaded NDK.
|
||||
$ ${NDK}/build/tools/make-standalone-toolchain.sh <br />
|
||||
–toolchain=arm-linux-androideabi-4.9 <br />
|
||||
–stl=gnustl <br />
|
||||
–arch=arm <br />
|
||||
–ndk-dir=/home/moslab/Android/android-ndk-r12b <br />
|
||||
–package-dir=/home/moslab/Android <br />
|
||||
–install-dir=/home/moslab/Android/android-ndk-toolchain <br />
|
||||
–platform=android-22</p>
|
||||
<p>In order to build standalone tool-chains, we need first to export following system environment. After doing that, we can use following command to build a standalone tool-chains from downloaded NDK.</p>
|
||||
|
||||
<pre><code>$ ${NDK}/build/tools/make-standalone-toolchain.sh \
|
||||
--toolchain=arm-linux-androideabi-4.9 \
|
||||
--stl=gnustl \
|
||||
--arch=arm \
|
||||
--ndk-dir=/home/moslab/Android/android-ndk-r12b \
|
||||
--package-dir=/home/moslab/Android \
|
||||
--install-dir=/home/moslab/Android/android-ndk-toolchain \
|
||||
--platform=android-22
|
||||
</code></pre>
|
||||
|
||||
<h3 id="original-system-environment-configuration">Original System Environment Configuration</h3>
|
||||
|
||||
<p>[TODO]-> I will fix this part later.
|
||||
/# Android NDK sources and standalone toolchain is put here
|
||||
export DEV=~/Android/</p>
|
||||
<p>[TODO]-> I will fix this part later.</p>
|
||||
|
||||
<pre><code>/# All the built binaries, libs and their header will be installed here
|
||||
<pre><code>/# Android NDK sources and standalone toolchain is put here
|
||||
export DEV=~/Android/
|
||||
|
||||
/# All the built binaries, libs and their header will be installed here
|
||||
export PREFIX=/opt/android
|
||||
|
||||
/# Don't mix up .pc files from your host and build target
|
||||
|
||||
Reference in New Issue
Block a user