From 9ee10ec287c0dfb8e318da88c3976654fc904074 Mon Sep 17 00:00:00 2001 From: CoderSherlock Date: Sun, 14 Aug 2016 14:29:02 -0400 Subject: [PATCH] Fix_slash_prefix --- categories/2016_07/index.xml | 38 ++++++++++----------- index.xml | 38 ++++++++++----------- post/Cross-Compile-Seafile-2-ARM/index.html | 38 ++++++++++----------- post/index.xml | 38 ++++++++++----------- tags/android/index.xml | 38 ++++++++++----------- tags/arm/index.xml | 38 ++++++++++----------- 6 files changed, 114 insertions(+), 114 deletions(-) diff --git a/categories/2016_07/index.xml b/categories/2016_07/index.xml index 596cde7..4cc919b 100644 --- a/categories/2016_07/index.xml +++ b/categories/2016_07/index.xml @@ -78,49 +78,49 @@ $ sudo apt-get install pkg-config automake autoconf libtool <p>[TODO]-&gt; I will fix this part later.</p> -<pre><code>/# Android NDK sources and standalone toolchain is put 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 +# 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 +# Don't mix up .pc files from your host and build target export PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig -/# GCC for Android version to use -/# 4.9 is the only available version since NDK r11! +# GCC for Android version to use +# 4.9 is the only available version since NDK r11! export GCC_VER=4.9 -/# The building system we are using (Linux x86_64) +# The building system we are using (Linux x86_64) export BUILD_SYS=x86_64-linux-gnu -/# Set Android target API level +# Set Android target API level export ANDROID_API=22 -/# Set Android target arch +# Set Android target arch export ANDROID_ARCH=arm -/# Set Android target name, according to Table 2 in -/# https://developer.android.com/ndk/guides/standalone_toolchain.html +# Set Android target name, according to Table 2 in +# https://developer.android.com/ndk/guides/standalone_toolchain.html export ANDROID_TARGET=armv7-none-linux-androideabi -/# The cross-compile toolchain we use +# The cross-compile toolchain we use export TOOLCHAIN=arm-linux-androideabi -/# This is a symlink pointing to the real Android NDK r12b +# This is a symlink pointing to the real Android NDK r12b export NDK=${DEV}/android-ndk -/# The path of standalone NDK toolchain -/# Refer to https://developer.android.com/ndk/guides/standalone_toolchain.html +# The path of standalone NDK toolchain +# Refer to https://developer.android.com/ndk/guides/standalone_toolchain.html export NDK_TOOLCHAIN=${DEV}/android-ndk-toolchain -/# this one is the absolute, prebuilt path +# this one is the absolute, prebuilt path export SYSROOT=${NDK}/platforms/android-${ANDROID_API}/arch-${ANDROID_ARCH} -/# this one is the absolute, prebuilt path +# this one is the absolute, prebuilt path export CROSS_PREFIX=${NDK}/toolchains/${TOOLCHAIN}-${GCC_VER}/prebuilt/linux-x86_64/bin/${TOOLCHAIN} -/# Non-exhaustive lists of compiler + binutils +# Non-exhaustive lists of compiler + binutils export AR=${CROSS_PREFIX}-ar export AS=${CROSS_PREFIX}-as export LD=${CROSS_PREFIX}-ld @@ -133,8 +133,8 @@ export STRIP=${CROSS_PREFIX}-strip export RANLIB=${CROSS_PREFIX}-ranlib export STRINGS=${CROSS_PREFIX}-strings -/# Set build flags -/# Refer to https://developer.android.com/ndk/guides/standalone_toolchain.html +# Set build flags +# Refer to https://developer.android.com/ndk/guides/standalone_toolchain.html export PATH=$PATH:${PREFIX}/bin:${PREFIX}/lib export CFLAGS=&quot;--sysroot=${SYSROOT} -I${SYSROOT}/usr/include -I${PREFIX}/include -fPIE -DANDROID -Wno-multichar&quot; export CXXFLAGS=${CFLAGS} diff --git a/index.xml b/index.xml index 580327f..f994ed8 100644 --- a/index.xml +++ b/index.xml @@ -78,49 +78,49 @@ $ sudo apt-get install pkg-config automake autoconf libtool <p>[TODO]-&gt; I will fix this part later.</p> -<pre><code>/# Android NDK sources and standalone toolchain is put 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 +# 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 +# Don't mix up .pc files from your host and build target export PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig -/# GCC for Android version to use -/# 4.9 is the only available version since NDK r11! +# GCC for Android version to use +# 4.9 is the only available version since NDK r11! export GCC_VER=4.9 -/# The building system we are using (Linux x86_64) +# The building system we are using (Linux x86_64) export BUILD_SYS=x86_64-linux-gnu -/# Set Android target API level +# Set Android target API level export ANDROID_API=22 -/# Set Android target arch +# Set Android target arch export ANDROID_ARCH=arm -/# Set Android target name, according to Table 2 in -/# https://developer.android.com/ndk/guides/standalone_toolchain.html +# Set Android target name, according to Table 2 in +# https://developer.android.com/ndk/guides/standalone_toolchain.html export ANDROID_TARGET=armv7-none-linux-androideabi -/# The cross-compile toolchain we use +# The cross-compile toolchain we use export TOOLCHAIN=arm-linux-androideabi -/# This is a symlink pointing to the real Android NDK r12b +# This is a symlink pointing to the real Android NDK r12b export NDK=${DEV}/android-ndk -/# The path of standalone NDK toolchain -/# Refer to https://developer.android.com/ndk/guides/standalone_toolchain.html +# The path of standalone NDK toolchain +# Refer to https://developer.android.com/ndk/guides/standalone_toolchain.html export NDK_TOOLCHAIN=${DEV}/android-ndk-toolchain -/# this one is the absolute, prebuilt path +# this one is the absolute, prebuilt path export SYSROOT=${NDK}/platforms/android-${ANDROID_API}/arch-${ANDROID_ARCH} -/# this one is the absolute, prebuilt path +# this one is the absolute, prebuilt path export CROSS_PREFIX=${NDK}/toolchains/${TOOLCHAIN}-${GCC_VER}/prebuilt/linux-x86_64/bin/${TOOLCHAIN} -/# Non-exhaustive lists of compiler + binutils +# Non-exhaustive lists of compiler + binutils export AR=${CROSS_PREFIX}-ar export AS=${CROSS_PREFIX}-as export LD=${CROSS_PREFIX}-ld @@ -133,8 +133,8 @@ export STRIP=${CROSS_PREFIX}-strip export RANLIB=${CROSS_PREFIX}-ranlib export STRINGS=${CROSS_PREFIX}-strings -/# Set build flags -/# Refer to https://developer.android.com/ndk/guides/standalone_toolchain.html +# Set build flags +# Refer to https://developer.android.com/ndk/guides/standalone_toolchain.html export PATH=$PATH:${PREFIX}/bin:${PREFIX}/lib export CFLAGS=&quot;--sysroot=${SYSROOT} -I${SYSROOT}/usr/include -I${PREFIX}/include -fPIE -DANDROID -Wno-multichar&quot; export CXXFLAGS=${CFLAGS} diff --git a/post/Cross-Compile-Seafile-2-ARM/index.html b/post/Cross-Compile-Seafile-2-ARM/index.html index fde0acd..e536ae5 100644 --- a/post/Cross-Compile-Seafile-2-ARM/index.html +++ b/post/Cross-Compile-Seafile-2-ARM/index.html @@ -124,49 +124,49 @@ $ sudo apt-get install pkg-config automake autoconf libtool

[TODO]-> I will fix this part later.

-
/# Android NDK sources and standalone toolchain is put here
+
# Android NDK sources and standalone toolchain is put here
 export DEV=~/Android/
 
-/# All the built binaries, libs and their header will be installed here
+# 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
+# Don't mix up .pc files from your host and build target
 export PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig
 
-/# GCC for Android version to use
-/# 4.9 is the only available version since NDK r11!
+# GCC for Android version to use
+# 4.9 is the only available version since NDK r11!
 export GCC_VER=4.9
 
-/# The building system we are using (Linux x86_64)
+# The building system we are using (Linux x86_64)
 export BUILD_SYS=x86_64-linux-gnu
 
-/# Set Android target API level
+# Set Android target API level
 export ANDROID_API=22
 
-/# Set Android target arch
+# Set Android target arch
 export ANDROID_ARCH=arm
 
-/# Set Android target name, according to Table 2 in
-/# https://developer.android.com/ndk/guides/standalone_toolchain.html
+# Set Android target name, according to Table 2 in
+# https://developer.android.com/ndk/guides/standalone_toolchain.html
 export ANDROID_TARGET=armv7-none-linux-androideabi
 
-/# The cross-compile toolchain we use
+# The cross-compile toolchain we use
 export TOOLCHAIN=arm-linux-androideabi
 
-/# This is a symlink pointing to the real Android NDK r12b
+# This is a symlink pointing to the real Android NDK r12b
 export NDK=${DEV}/android-ndk
 
-/# The path of standalone NDK toolchain
-/# Refer to https://developer.android.com/ndk/guides/standalone_toolchain.html
+# The path of standalone NDK toolchain
+# Refer to https://developer.android.com/ndk/guides/standalone_toolchain.html
 export NDK_TOOLCHAIN=${DEV}/android-ndk-toolchain
 
-/# this one is the absolute, prebuilt path
+# this one is the absolute, prebuilt path
 export SYSROOT=${NDK}/platforms/android-${ANDROID_API}/arch-${ANDROID_ARCH}
 
-/# this one is the absolute, prebuilt path
+# this one is the absolute, prebuilt path
 export CROSS_PREFIX=${NDK}/toolchains/${TOOLCHAIN}-${GCC_VER}/prebuilt/linux-x86_64/bin/${TOOLCHAIN}
 
-/# Non-exhaustive lists of compiler + binutils
+# Non-exhaustive lists of compiler + binutils
 export AR=${CROSS_PREFIX}-ar
 export AS=${CROSS_PREFIX}-as
 export LD=${CROSS_PREFIX}-ld
@@ -179,8 +179,8 @@ export STRIP=${CROSS_PREFIX}-strip
 export RANLIB=${CROSS_PREFIX}-ranlib
 export STRINGS=${CROSS_PREFIX}-strings
 
-/# Set build flags
-/# Refer to https://developer.android.com/ndk/guides/standalone_toolchain.html
+# Set build flags
+# Refer to https://developer.android.com/ndk/guides/standalone_toolchain.html
 export PATH=$PATH:${PREFIX}/bin:${PREFIX}/lib
 export CFLAGS="--sysroot=${SYSROOT} -I${SYSROOT}/usr/include -I${PREFIX}/include -fPIE -DANDROID -Wno-multichar"
 export CXXFLAGS=${CFLAGS}
diff --git a/post/index.xml b/post/index.xml
index 0a18645..974210c 100644
--- a/post/index.xml
+++ b/post/index.xml
@@ -78,49 +78,49 @@ $ sudo apt-get install pkg-config automake autoconf libtool
 
 <p>[TODO]-&gt; I will fix this part later.</p>
 
-<pre><code>/# Android NDK sources and standalone toolchain is put 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
+# 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
+# Don't mix up .pc files from your host and build target
 export PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig
 
-/# GCC for Android version to use
-/# 4.9 is the only available version since NDK r11!
+# GCC for Android version to use
+# 4.9 is the only available version since NDK r11!
 export GCC_VER=4.9
 
-/# The building system we are using (Linux x86_64)
+# The building system we are using (Linux x86_64)
 export BUILD_SYS=x86_64-linux-gnu
 
-/# Set Android target API level
+# Set Android target API level
 export ANDROID_API=22
 
-/# Set Android target arch
+# Set Android target arch
 export ANDROID_ARCH=arm
 
-/# Set Android target name, according to Table 2 in
-/# https://developer.android.com/ndk/guides/standalone_toolchain.html
+# Set Android target name, according to Table 2 in
+# https://developer.android.com/ndk/guides/standalone_toolchain.html
 export ANDROID_TARGET=armv7-none-linux-androideabi
 
-/# The cross-compile toolchain we use
+# The cross-compile toolchain we use
 export TOOLCHAIN=arm-linux-androideabi
 
-/# This is a symlink pointing to the real Android NDK r12b
+# This is a symlink pointing to the real Android NDK r12b
 export NDK=${DEV}/android-ndk
 
-/# The path of standalone NDK toolchain
-/# Refer to https://developer.android.com/ndk/guides/standalone_toolchain.html
+# The path of standalone NDK toolchain
+# Refer to https://developer.android.com/ndk/guides/standalone_toolchain.html
 export NDK_TOOLCHAIN=${DEV}/android-ndk-toolchain
 
-/# this one is the absolute, prebuilt path
+# this one is the absolute, prebuilt path
 export SYSROOT=${NDK}/platforms/android-${ANDROID_API}/arch-${ANDROID_ARCH}
 
-/# this one is the absolute, prebuilt path
+# this one is the absolute, prebuilt path
 export CROSS_PREFIX=${NDK}/toolchains/${TOOLCHAIN}-${GCC_VER}/prebuilt/linux-x86_64/bin/${TOOLCHAIN}
 
-/# Non-exhaustive lists of compiler + binutils
+# Non-exhaustive lists of compiler + binutils
 export AR=${CROSS_PREFIX}-ar
 export AS=${CROSS_PREFIX}-as
 export LD=${CROSS_PREFIX}-ld
@@ -133,8 +133,8 @@ export STRIP=${CROSS_PREFIX}-strip
 export RANLIB=${CROSS_PREFIX}-ranlib
 export STRINGS=${CROSS_PREFIX}-strings
 
-/# Set build flags
-/# Refer to https://developer.android.com/ndk/guides/standalone_toolchain.html
+# Set build flags
+# Refer to https://developer.android.com/ndk/guides/standalone_toolchain.html
 export PATH=$PATH:${PREFIX}/bin:${PREFIX}/lib
 export CFLAGS=&quot;--sysroot=${SYSROOT} -I${SYSROOT}/usr/include -I${PREFIX}/include -fPIE -DANDROID -Wno-multichar&quot;
 export CXXFLAGS=${CFLAGS}
diff --git a/tags/android/index.xml b/tags/android/index.xml
index a2eeeef..a5c9ab8 100644
--- a/tags/android/index.xml
+++ b/tags/android/index.xml
@@ -51,49 +51,49 @@ $ sudo apt-get install pkg-config automake autoconf libtool
 
 <p>[TODO]-&gt; I will fix this part later.</p>
 
-<pre><code>/# Android NDK sources and standalone toolchain is put 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
+# 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
+# Don't mix up .pc files from your host and build target
 export PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig
 
-/# GCC for Android version to use
-/# 4.9 is the only available version since NDK r11!
+# GCC for Android version to use
+# 4.9 is the only available version since NDK r11!
 export GCC_VER=4.9
 
-/# The building system we are using (Linux x86_64)
+# The building system we are using (Linux x86_64)
 export BUILD_SYS=x86_64-linux-gnu
 
-/# Set Android target API level
+# Set Android target API level
 export ANDROID_API=22
 
-/# Set Android target arch
+# Set Android target arch
 export ANDROID_ARCH=arm
 
-/# Set Android target name, according to Table 2 in
-/# https://developer.android.com/ndk/guides/standalone_toolchain.html
+# Set Android target name, according to Table 2 in
+# https://developer.android.com/ndk/guides/standalone_toolchain.html
 export ANDROID_TARGET=armv7-none-linux-androideabi
 
-/# The cross-compile toolchain we use
+# The cross-compile toolchain we use
 export TOOLCHAIN=arm-linux-androideabi
 
-/# This is a symlink pointing to the real Android NDK r12b
+# This is a symlink pointing to the real Android NDK r12b
 export NDK=${DEV}/android-ndk
 
-/# The path of standalone NDK toolchain
-/# Refer to https://developer.android.com/ndk/guides/standalone_toolchain.html
+# The path of standalone NDK toolchain
+# Refer to https://developer.android.com/ndk/guides/standalone_toolchain.html
 export NDK_TOOLCHAIN=${DEV}/android-ndk-toolchain
 
-/# this one is the absolute, prebuilt path
+# this one is the absolute, prebuilt path
 export SYSROOT=${NDK}/platforms/android-${ANDROID_API}/arch-${ANDROID_ARCH}
 
-/# this one is the absolute, prebuilt path
+# this one is the absolute, prebuilt path
 export CROSS_PREFIX=${NDK}/toolchains/${TOOLCHAIN}-${GCC_VER}/prebuilt/linux-x86_64/bin/${TOOLCHAIN}
 
-/# Non-exhaustive lists of compiler + binutils
+# Non-exhaustive lists of compiler + binutils
 export AR=${CROSS_PREFIX}-ar
 export AS=${CROSS_PREFIX}-as
 export LD=${CROSS_PREFIX}-ld
@@ -106,8 +106,8 @@ export STRIP=${CROSS_PREFIX}-strip
 export RANLIB=${CROSS_PREFIX}-ranlib
 export STRINGS=${CROSS_PREFIX}-strings
 
-/# Set build flags
-/# Refer to https://developer.android.com/ndk/guides/standalone_toolchain.html
+# Set build flags
+# Refer to https://developer.android.com/ndk/guides/standalone_toolchain.html
 export PATH=$PATH:${PREFIX}/bin:${PREFIX}/lib
 export CFLAGS=&quot;--sysroot=${SYSROOT} -I${SYSROOT}/usr/include -I${PREFIX}/include -fPIE -DANDROID -Wno-multichar&quot;
 export CXXFLAGS=${CFLAGS}
diff --git a/tags/arm/index.xml b/tags/arm/index.xml
index 82bcfc7..a61dcb5 100644
--- a/tags/arm/index.xml
+++ b/tags/arm/index.xml
@@ -51,49 +51,49 @@ $ sudo apt-get install pkg-config automake autoconf libtool
 
 <p>[TODO]-&gt; I will fix this part later.</p>
 
-<pre><code>/# Android NDK sources and standalone toolchain is put 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
+# 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
+# Don't mix up .pc files from your host and build target
 export PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig
 
-/# GCC for Android version to use
-/# 4.9 is the only available version since NDK r11!
+# GCC for Android version to use
+# 4.9 is the only available version since NDK r11!
 export GCC_VER=4.9
 
-/# The building system we are using (Linux x86_64)
+# The building system we are using (Linux x86_64)
 export BUILD_SYS=x86_64-linux-gnu
 
-/# Set Android target API level
+# Set Android target API level
 export ANDROID_API=22
 
-/# Set Android target arch
+# Set Android target arch
 export ANDROID_ARCH=arm
 
-/# Set Android target name, according to Table 2 in
-/# https://developer.android.com/ndk/guides/standalone_toolchain.html
+# Set Android target name, according to Table 2 in
+# https://developer.android.com/ndk/guides/standalone_toolchain.html
 export ANDROID_TARGET=armv7-none-linux-androideabi
 
-/# The cross-compile toolchain we use
+# The cross-compile toolchain we use
 export TOOLCHAIN=arm-linux-androideabi
 
-/# This is a symlink pointing to the real Android NDK r12b
+# This is a symlink pointing to the real Android NDK r12b
 export NDK=${DEV}/android-ndk
 
-/# The path of standalone NDK toolchain
-/# Refer to https://developer.android.com/ndk/guides/standalone_toolchain.html
+# The path of standalone NDK toolchain
+# Refer to https://developer.android.com/ndk/guides/standalone_toolchain.html
 export NDK_TOOLCHAIN=${DEV}/android-ndk-toolchain
 
-/# this one is the absolute, prebuilt path
+# this one is the absolute, prebuilt path
 export SYSROOT=${NDK}/platforms/android-${ANDROID_API}/arch-${ANDROID_ARCH}
 
-/# this one is the absolute, prebuilt path
+# this one is the absolute, prebuilt path
 export CROSS_PREFIX=${NDK}/toolchains/${TOOLCHAIN}-${GCC_VER}/prebuilt/linux-x86_64/bin/${TOOLCHAIN}
 
-/# Non-exhaustive lists of compiler + binutils
+# Non-exhaustive lists of compiler + binutils
 export AR=${CROSS_PREFIX}-ar
 export AS=${CROSS_PREFIX}-as
 export LD=${CROSS_PREFIX}-ld
@@ -106,8 +106,8 @@ export STRIP=${CROSS_PREFIX}-strip
 export RANLIB=${CROSS_PREFIX}-ranlib
 export STRINGS=${CROSS_PREFIX}-strings
 
-/# Set build flags
-/# Refer to https://developer.android.com/ndk/guides/standalone_toolchain.html
+# Set build flags
+# Refer to https://developer.android.com/ndk/guides/standalone_toolchain.html
 export PATH=$PATH:${PREFIX}/bin:${PREFIX}/lib
 export CFLAGS=&quot;--sysroot=${SYSROOT} -I${SYSROOT}/usr/include -I${PREFIX}/include -fPIE -DANDROID -Wno-multichar&quot;
 export CXXFLAGS=${CFLAGS}