mirror of
https://github.com/CoderSherlock/CoderSherlock.github.io.git
synced 2026-06-13 08:08:10 -07:00
ARM_update
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
|
||||
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/solarized_dark.min.css">
|
||||
<link rel="stylesheet" href="/CoderSherlock.github.io/css/styles.css">
|
||||
<link rel="stylesheet" href="/CoderSherlock.github.io/css/custom.css">
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="/CoderSherlock.github.io//index.xml">
|
||||
<link rel="stylesheet" href="https://codersherlock.github.io/css/styles.css">
|
||||
<link rel="stylesheet" href="https://codersherlock.github.io/css/custom.css">
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://codersherlock.github.io//index.xml">
|
||||
|
||||
|
||||
<title>Cross Compile Seafile 2 ARM - Mil años de solitario</title>
|
||||
@@ -19,7 +19,7 @@
|
||||
<meta property="og:type" content="article">
|
||||
|
||||
|
||||
<meta property="og:url" content="/CoderSherlock.github.io/post/Cross-Compile-Seafile-2-ARM/">
|
||||
<meta property="og:url" content="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/">
|
||||
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="/CoderSherlock.github.io/">Mil años de solitario</a>
|
||||
<a class="navbar-brand" href="https://codersherlock.github.io/">Mil años de solitario</a>
|
||||
</div>
|
||||
|
||||
<div id="navbar" class="collapse navbar-collapse">
|
||||
@@ -60,19 +60,19 @@
|
||||
|
||||
<article class="single" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
|
||||
<meta itemprop="mainEntityOfPage" itemType="https://schema.org/WebPage" content="/CoderSherlock.github.io/"/>
|
||||
<meta itemprop="mainEntityOfPage" itemType="https://schema.org/WebPage" content="https://codersherlock.github.io/"/>
|
||||
<meta itemprop="dateModified" content="2016-07-30T14:02:34-04:00">
|
||||
<meta itemprop="headline" content="Cross Compile Seafile 2 ARM">
|
||||
<meta itemprop="description" content="Cross Compile Seafile to ARM platform Motivation This project is working for delta sync from mobile to server. Currently, there’s no mobile program/solution has supporting to delta sync(Include Dropbox/ Goggle Drive). But the truth is that almost every pc version sync program can work as delta sync properly or not. So in this article, I’ll provide a workbench for cross compilation and evaluation. And finally come up with a reason of how to port better incremental synchronize solution on mobile platform.">
|
||||
<meta itemprop="url" content="/CoderSherlock.github.io/post/Cross-Compile-Seafile-2-ARM/">
|
||||
<meta itemprop="url" content="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/">
|
||||
<div itemprop="image" itemscope itemtype="https://schema.org/ImageObject">
|
||||
<meta itemprop="url" content="/CoderSherlock.github.io/images/default.jpg" />
|
||||
<meta itemprop="url" content="https://codersherlock.github.io/images/default.jpg" />
|
||||
<meta itemprop="width" content="800">
|
||||
<meta itemprop="height" content="800">
|
||||
</div>
|
||||
<div itemprop="publisher" itemscope itemtype="https://schema.org/Organization">
|
||||
<div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
|
||||
<meta itemprop="url" content="/CoderSherlock.github.io/images/logo.jpg">
|
||||
<meta itemprop="url" content="https://codersherlock.github.io/images/logo.jpg">
|
||||
<meta itemprop="width" content="100">
|
||||
<meta itemprop="height" content="100">
|
||||
</div>
|
||||
@@ -98,17 +98,88 @@
|
||||
|
||||
<h2 id="pre-work">Pre-work</h2>
|
||||
|
||||
<h3 id="original-system-environment-configuration">Original System Environment Configuration</h3>
|
||||
|
||||
<pre><code>/# Android NDK sources and standalone toolchain is put here
|
||||
export DEV=${HOME}/dev
|
||||
|
||||
/# 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
|
||||
export PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig
|
||||
|
||||
/# 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)
|
||||
export BUILD_SYS=x86_64-linux-gnu
|
||||
|
||||
/# Set Android target API level
|
||||
export ANDROID_API=19
|
||||
|
||||
/# 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
|
||||
export ANDROID_TARGET=armv5te-none-linux-androideabi
|
||||
|
||||
/# The cross-compile toolchain we use
|
||||
export TOOLCHAIN=arm-linux-androideabi
|
||||
|
||||
/# This is a symlink pointing to the real Android NDK r10e
|
||||
export NDK=${DEV}/android-ndk
|
||||
|
||||
/# The path of standalone NDK toolchain
|
||||
/# Refer to https://developer.android.com/ndk/guides/standalone_toolchain.html
|
||||
export NDK_TOOLCHAIN=${DEV}/android-ndk-toolchain
|
||||
|
||||
/# Set Android Sysroot according to API and arch
|
||||
export SYSROOT=${NDK_TOOLCHAIN}/sysroot
|
||||
/# this one is the absolute, prebuilt path
|
||||
/# export SYSROOT=${NDK}/platforms/android-${ANDROID_API}/arch-${ANDROID_ARCH}
|
||||
|
||||
/# Binutils path
|
||||
export CROSS_PREFIX=${NDK_TOOLCHAIN}/bin/${TOOLCHAIN}
|
||||
/# 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
|
||||
export AR=${CROSS_PREFIX}-ar
|
||||
export AS=${CROSS_PREFIX}-as
|
||||
export LD=${CROSS_PREFIX}-ld
|
||||
export NM=${CROSS_PREFIX}-nm
|
||||
export CC=${CROSS_PREFIX}-gcc
|
||||
export CXX=${CROSS_PREFIX}-g++
|
||||
export CPP=${CROSS_PREFIX}-cpp
|
||||
export CXXCPP=${CROSS_PREFIX}-cpp
|
||||
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
|
||||
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}
|
||||
export CPPFLAGS="--sysroot=${SYSROOT} -I${SYSROOT}/usr/include -I${NDK_TOOLCHAIN}/include/c++/ -DANDROID -DNO_XMALLOC -mandroid"
|
||||
export LIBS="-lc"
|
||||
export LDFLAGS="-Wl,-rpath-link=-I${SYSROOT}/usr/lib -L${SYSROOT}/usr/lib -L${PREFIX}/lib -L${NDK_TOOLCHAIN}/lib"
|
||||
</code></pre>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<aside>
|
||||
<div class="section"><a href="/CoderSherlock.github.io/tags/Android" class="tag">Android</a> <a href="/CoderSherlock.github.io/tags/ARM" class="tag">ARM</a> </div>
|
||||
<div class="section"><a href="https://codersherlock.github.io/tags/Android" class="tag">Android</a> <a href="https://codersherlock.github.io/tags/ARM" class="tag">ARM</a> </div>
|
||||
|
||||
<div class="section share">
|
||||
<a href="http://www.facebook.com/sharer.php?src=bm&u=%2fCoderSherlock.github.io%2fpost%2fCross-Compile-Seafile-2-ARM%2f&t=Cross%20Compile%20Seafile%202%20ARM" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-facebook"></i></a>
|
||||
<a href="http://twitter.com/intent/tweet?url=%2fCoderSherlock.github.io%2fpost%2fCross-Compile-Seafile-2-ARM%2f&text=Cross%20Compile%20Seafile%202%20ARM&tw_p=tweetbutton" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-twitter"></i></a>
|
||||
<a href="https://plus.google.com/share?url=%2fCoderSherlock.github.io%2fpost%2fCross-Compile-Seafile-2-ARM%2f" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-google-plus"></i></a>
|
||||
<a href="http://getpocket.com/edit?url=%2fCoderSherlock.github.io%2fpost%2fCross-Compile-Seafile-2-ARM%2f&title=Cross%20Compile%20Seafile%202%20ARM" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-get-pocket"></i></a>
|
||||
<a href="http://www.facebook.com/sharer.php?src=bm&u=https%3a%2f%2fcodersherlock.github.io%2fpost%2fCross-Compile-Seafile-2-ARM%2f&t=Cross%20Compile%20Seafile%202%20ARM" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-facebook"></i></a>
|
||||
<a href="http://twitter.com/intent/tweet?url=https%3a%2f%2fcodersherlock.github.io%2fpost%2fCross-Compile-Seafile-2-ARM%2f&text=Cross%20Compile%20Seafile%202%20ARM&tw_p=tweetbutton" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-twitter"></i></a>
|
||||
<a href="https://plus.google.com/share?url=https%3a%2f%2fcodersherlock.github.io%2fpost%2fCross-Compile-Seafile-2-ARM%2f" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-google-plus"></i></a>
|
||||
<a href="http://getpocket.com/edit?url=https%3a%2f%2fcodersherlock.github.io%2fpost%2fCross-Compile-Seafile-2-ARM%2f&title=Cross%20Compile%20Seafile%202%20ARM" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-get-pocket"></i></a>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -129,9 +200,9 @@
|
||||
</div>
|
||||
<div class="list-group">
|
||||
|
||||
<a href="/CoderSherlock.github.io/post/Pokemon-Go-Hack/" class="list-group-item">Pokemon Go Hack</a>
|
||||
<a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/" class="list-group-item">Pokemon Go Hack</a>
|
||||
|
||||
<a href="/CoderSherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="list-group-item">Cross Compile Seafile 2 ARM</a>
|
||||
<a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="list-group-item">Cross Compile Seafile 2 ARM</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -143,7 +214,7 @@
|
||||
</div>
|
||||
<div class="list-group">
|
||||
|
||||
<a href="/CoderSherlock.github.io/categories/2016_07" class="list-group-item">2016_07</a>
|
||||
<a href="https://codersherlock.github.io/categories/2016_07" class="list-group-item">2016_07</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -154,13 +225,13 @@
|
||||
</div>
|
||||
<div class="list-group">
|
||||
|
||||
<a href="/CoderSherlock.github.io/tags/android" class="list-group-item">android</a>
|
||||
<a href="https://codersherlock.github.io/tags/android" class="list-group-item">android</a>
|
||||
|
||||
<a href="/CoderSherlock.github.io/tags/arm" class="list-group-item">arm</a>
|
||||
<a href="https://codersherlock.github.io/tags/arm" class="list-group-item">arm</a>
|
||||
|
||||
<a href="/CoderSherlock.github.io/tags/github" class="list-group-item">github</a>
|
||||
<a href="https://codersherlock.github.io/tags/github" class="list-group-item">github</a>
|
||||
|
||||
<a href="/CoderSherlock.github.io/tags/hack" class="list-group-item">hack</a>
|
||||
<a href="https://codersherlock.github.io/tags/hack" class="list-group-item">hack</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -9,9 +9,9 @@
|
||||
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
|
||||
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/solarized_dark.min.css">
|
||||
<link rel="stylesheet" href="/CoderSherlock.github.io/css/styles.css">
|
||||
<link rel="stylesheet" href="/CoderSherlock.github.io/css/custom.css">
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="/CoderSherlock.github.io//index.xml">
|
||||
<link rel="stylesheet" href="https://codersherlock.github.io/css/styles.css">
|
||||
<link rel="stylesheet" href="https://codersherlock.github.io/css/custom.css">
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://codersherlock.github.io//index.xml">
|
||||
|
||||
|
||||
<title>Pokemon Go Hack - Mil años de solitario</title>
|
||||
@@ -19,7 +19,7 @@
|
||||
<meta property="og:type" content="article">
|
||||
|
||||
|
||||
<meta property="og:url" content="/CoderSherlock.github.io/post/Pokemon-Go-Hack/">
|
||||
<meta property="og:url" content="https://codersherlock.github.io/post/Pokemon-Go-Hack/">
|
||||
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="/CoderSherlock.github.io/">Mil años de solitario</a>
|
||||
<a class="navbar-brand" href="https://codersherlock.github.io/">Mil años de solitario</a>
|
||||
</div>
|
||||
|
||||
<div id="navbar" class="collapse navbar-collapse">
|
||||
@@ -60,19 +60,19 @@
|
||||
|
||||
<article class="single" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
|
||||
<meta itemprop="mainEntityOfPage" itemType="https://schema.org/WebPage" content="/CoderSherlock.github.io/"/>
|
||||
<meta itemprop="mainEntityOfPage" itemType="https://schema.org/WebPage" content="https://codersherlock.github.io/"/>
|
||||
<meta itemprop="dateModified" content="2016-07-30T18:10:20-04:00">
|
||||
<meta itemprop="headline" content="Pokemon Go Hack">
|
||||
<meta itemprop="description" content="Catch them all until bored Preface I never imagined that I will truly write something for hacking a game. Though I have to admit that Pokemon Go is a huge heat and different from other games, it still hard to believe that I took movement to make it better(or worse?). I was a big fun of ingress, and thanks to one of my best friends, Kevin, who was also a huge fan to ingress, recommended me this game.">
|
||||
<meta itemprop="url" content="/CoderSherlock.github.io/post/Pokemon-Go-Hack/">
|
||||
<meta itemprop="url" content="https://codersherlock.github.io/post/Pokemon-Go-Hack/">
|
||||
<div itemprop="image" itemscope itemtype="https://schema.org/ImageObject">
|
||||
<meta itemprop="url" content="/CoderSherlock.github.io/images/default.jpg" />
|
||||
<meta itemprop="url" content="https://codersherlock.github.io/images/default.jpg" />
|
||||
<meta itemprop="width" content="800">
|
||||
<meta itemprop="height" content="800">
|
||||
</div>
|
||||
<div itemprop="publisher" itemscope itemtype="https://schema.org/Organization">
|
||||
<div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
|
||||
<meta itemprop="url" content="/CoderSherlock.github.io/images/logo.jpg">
|
||||
<meta itemprop="url" content="https://codersherlock.github.io/images/logo.jpg">
|
||||
<meta itemprop="width" content="100">
|
||||
<meta itemprop="height" content="100">
|
||||
</div>
|
||||
@@ -100,26 +100,24 @@ Anyway, after coming back, I think I write too much on useless words, so let me
|
||||
|
||||
<h2 id="todo-list">TODO List</h2>
|
||||
|
||||
<ul>
|
||||
<li>[X] Test API</li>
|
||||
<li>[ ] Finish Walk Algorithm</li>
|
||||
<li>[ ] Finish other movement, etc. catch, hatch</li>
|
||||
<li>[ ] Smart Walking route</li>
|
||||
<li>[ ] Pokemon Predict (Thanks to Pokevision’s idea)</li>
|
||||
<li>[ ] Become a Pokemon Master</li>
|
||||
</ul>
|
||||
<p>-[x] Test API
|
||||
-[ ] Finish Walk Algorithm
|
||||
-[ ] Finish other movement, etc. catch, hatch
|
||||
-[ ] Smart Walking route
|
||||
-[ ] Pokemon Predict (Thanks to Pokevision’s idea)
|
||||
-[ ] Become a Pokemon Master</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<aside>
|
||||
<div class="section"><a href="/CoderSherlock.github.io/tags/hack" class="tag">hack</a> <a href="/CoderSherlock.github.io/tags/github" class="tag">github</a> </div>
|
||||
<div class="section"><a href="https://codersherlock.github.io/tags/hack" class="tag">hack</a> <a href="https://codersherlock.github.io/tags/github" class="tag">github</a> </div>
|
||||
|
||||
<div class="section share">
|
||||
<a href="http://www.facebook.com/sharer.php?src=bm&u=%2fCoderSherlock.github.io%2fpost%2fPokemon-Go-Hack%2f&t=Pokemon%20Go%20Hack" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-facebook"></i></a>
|
||||
<a href="http://twitter.com/intent/tweet?url=%2fCoderSherlock.github.io%2fpost%2fPokemon-Go-Hack%2f&text=Pokemon%20Go%20Hack&tw_p=tweetbutton" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-twitter"></i></a>
|
||||
<a href="https://plus.google.com/share?url=%2fCoderSherlock.github.io%2fpost%2fPokemon-Go-Hack%2f" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-google-plus"></i></a>
|
||||
<a href="http://getpocket.com/edit?url=%2fCoderSherlock.github.io%2fpost%2fPokemon-Go-Hack%2f&title=Pokemon%20Go%20Hack" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-get-pocket"></i></a>
|
||||
<a href="http://www.facebook.com/sharer.php?src=bm&u=https%3a%2f%2fcodersherlock.github.io%2fpost%2fPokemon-Go-Hack%2f&t=Pokemon%20Go%20Hack" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-facebook"></i></a>
|
||||
<a href="http://twitter.com/intent/tweet?url=https%3a%2f%2fcodersherlock.github.io%2fpost%2fPokemon-Go-Hack%2f&text=Pokemon%20Go%20Hack&tw_p=tweetbutton" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-twitter"></i></a>
|
||||
<a href="https://plus.google.com/share?url=https%3a%2f%2fcodersherlock.github.io%2fpost%2fPokemon-Go-Hack%2f" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-google-plus"></i></a>
|
||||
<a href="http://getpocket.com/edit?url=https%3a%2f%2fcodersherlock.github.io%2fpost%2fPokemon-Go-Hack%2f&title=Pokemon%20Go%20Hack" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-get-pocket"></i></a>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -140,9 +138,9 @@ Anyway, after coming back, I think I write too much on useless words, so let me
|
||||
</div>
|
||||
<div class="list-group">
|
||||
|
||||
<a href="/CoderSherlock.github.io/post/Pokemon-Go-Hack/" class="list-group-item">Pokemon Go Hack</a>
|
||||
<a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/" class="list-group-item">Pokemon Go Hack</a>
|
||||
|
||||
<a href="/CoderSherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="list-group-item">Cross Compile Seafile 2 ARM</a>
|
||||
<a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="list-group-item">Cross Compile Seafile 2 ARM</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -154,7 +152,7 @@ Anyway, after coming back, I think I write too much on useless words, so let me
|
||||
</div>
|
||||
<div class="list-group">
|
||||
|
||||
<a href="/CoderSherlock.github.io/categories/2016_07" class="list-group-item">2016_07</a>
|
||||
<a href="https://codersherlock.github.io/categories/2016_07" class="list-group-item">2016_07</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -165,13 +163,13 @@ Anyway, after coming back, I think I write too much on useless words, so let me
|
||||
</div>
|
||||
<div class="list-group">
|
||||
|
||||
<a href="/CoderSherlock.github.io/tags/android" class="list-group-item">android</a>
|
||||
<a href="https://codersherlock.github.io/tags/android" class="list-group-item">android</a>
|
||||
|
||||
<a href="/CoderSherlock.github.io/tags/arm" class="list-group-item">arm</a>
|
||||
<a href="https://codersherlock.github.io/tags/arm" class="list-group-item">arm</a>
|
||||
|
||||
<a href="/CoderSherlock.github.io/tags/github" class="list-group-item">github</a>
|
||||
<a href="https://codersherlock.github.io/tags/github" class="list-group-item">github</a>
|
||||
|
||||
<a href="/CoderSherlock.github.io/tags/hack" class="list-group-item">hack</a>
|
||||
<a href="https://codersherlock.github.io/tags/hack" class="list-group-item">hack</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+16
-16
@@ -9,9 +9,9 @@
|
||||
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
|
||||
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/solarized_dark.min.css">
|
||||
<link rel="stylesheet" href="/CoderSherlock.github.io/css/styles.css">
|
||||
<link rel="stylesheet" href="/CoderSherlock.github.io/css/custom.css">
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="/CoderSherlock.github.io//index.xml">
|
||||
<link rel="stylesheet" href="https://codersherlock.github.io/css/styles.css">
|
||||
<link rel="stylesheet" href="https://codersherlock.github.io/css/custom.css">
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://codersherlock.github.io//index.xml">
|
||||
|
||||
|
||||
<title>Posts - Mil años de solitario</title>
|
||||
@@ -19,7 +19,7 @@
|
||||
<meta property="og:type" content="article">
|
||||
|
||||
|
||||
<meta property="og:url" content="CoderSherlock.github.io/post/">
|
||||
<meta property="og:url" content="https://CoderSherlock.github.io/post/">
|
||||
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="/CoderSherlock.github.io/">Mil años de solitario</a>
|
||||
<a class="navbar-brand" href="https://codersherlock.github.io/">Mil años de solitario</a>
|
||||
</div>
|
||||
|
||||
<div id="navbar" class="collapse navbar-collapse">
|
||||
@@ -62,13 +62,13 @@
|
||||
<article class="li">
|
||||
<header>
|
||||
<div class="date">Sat, Jul 30, 2016</div>
|
||||
<div class="title"><a href="/CoderSherlock.github.io/post/Pokemon-Go-Hack/">Pokemon Go Hack</a></div>
|
||||
<div class="title"><a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/">Pokemon Go Hack</a></div>
|
||||
</header>
|
||||
<div class="body">Catch them all until bored Preface I never imagined that I will truly write something for hacking a game. Though I have to admit that Pokemon Go is a huge heat and different from other games, it still hard to believe that I took movement to make it better(or worse?). I was a big fun of ingress, and thanks to one of my best friends, Kevin, who was also a huge fan to ingress, recommended me this game.</div>
|
||||
|
||||
|
||||
<footer>
|
||||
<a href="/CoderSherlock.github.io/post/Pokemon-Go-Hack/" class="btn btn-default">Read More…</a>
|
||||
<a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/" class="btn btn-default">Read More…</a>
|
||||
</footer>
|
||||
|
||||
</article>
|
||||
@@ -78,13 +78,13 @@
|
||||
<article class="li">
|
||||
<header>
|
||||
<div class="date">Sat, Jul 30, 2016</div>
|
||||
<div class="title"><a href="/CoderSherlock.github.io/post/Cross-Compile-Seafile-2-ARM/">Cross Compile Seafile 2 ARM</a></div>
|
||||
<div class="title"><a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/">Cross Compile Seafile 2 ARM</a></div>
|
||||
</header>
|
||||
<div class="body">Cross Compile Seafile to ARM platform Motivation This project is working for delta sync from mobile to server. Currently, there’s no mobile program/solution has supporting to delta sync(Include Dropbox/ Goggle Drive). But the truth is that almost every pc version sync program can work as delta sync properly or not. So in this article, I’ll provide a workbench for cross compilation and evaluation. And finally come up with a reason of how to port better incremental synchronize solution on mobile platform.</div>
|
||||
|
||||
|
||||
<footer>
|
||||
<a href="/CoderSherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="btn btn-default">Read More…</a>
|
||||
<a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="btn btn-default">Read More…</a>
|
||||
</footer>
|
||||
|
||||
</article>
|
||||
@@ -105,9 +105,9 @@
|
||||
</div>
|
||||
<div class="list-group">
|
||||
|
||||
<a href="/CoderSherlock.github.io/post/Pokemon-Go-Hack/" class="list-group-item">Pokemon Go Hack</a>
|
||||
<a href="https://codersherlock.github.io/post/Pokemon-Go-Hack/" class="list-group-item">Pokemon Go Hack</a>
|
||||
|
||||
<a href="/CoderSherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="list-group-item">Cross Compile Seafile 2 ARM</a>
|
||||
<a href="https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/" class="list-group-item">Cross Compile Seafile 2 ARM</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -119,7 +119,7 @@
|
||||
</div>
|
||||
<div class="list-group">
|
||||
|
||||
<a href="/CoderSherlock.github.io/categories/2016_07" class="list-group-item">2016_07</a>
|
||||
<a href="https://codersherlock.github.io/categories/2016_07" class="list-group-item">2016_07</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -130,13 +130,13 @@
|
||||
</div>
|
||||
<div class="list-group">
|
||||
|
||||
<a href="/CoderSherlock.github.io/tags/android" class="list-group-item">android</a>
|
||||
<a href="https://codersherlock.github.io/tags/android" class="list-group-item">android</a>
|
||||
|
||||
<a href="/CoderSherlock.github.io/tags/arm" class="list-group-item">arm</a>
|
||||
<a href="https://codersherlock.github.io/tags/arm" class="list-group-item">arm</a>
|
||||
|
||||
<a href="/CoderSherlock.github.io/tags/github" class="list-group-item">github</a>
|
||||
<a href="https://codersherlock.github.io/tags/github" class="list-group-item">github</a>
|
||||
|
||||
<a href="/CoderSherlock.github.io/tags/hack" class="list-group-item">hack</a>
|
||||
<a href="https://codersherlock.github.io/tags/hack" class="list-group-item">hack</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+83
-14
@@ -2,19 +2,19 @@
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Posts on Mil años de solitario</title>
|
||||
<link>CoderSherlock.github.io/post/</link>
|
||||
<link>https://CoderSherlock.github.io/post/</link>
|
||||
<description>Recent content in Posts on Mil años de solitario</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<language>en-us</language>
|
||||
<lastBuildDate>Sat, 30 Jul 2016 18:10:20 -0400</lastBuildDate>
|
||||
<atom:link href="CoderSherlock.github.io/post/index.xml" rel="self" type="application/rss+xml" />
|
||||
<atom:link href="https://CoderSherlock.github.io/post/index.xml" rel="self" type="application/rss+xml" />
|
||||
|
||||
<item>
|
||||
<title>Pokemon Go Hack</title>
|
||||
<link>/CoderSherlock.github.io/post/Pokemon-Go-Hack/</link>
|
||||
<link>https://codersherlock.github.io/post/Pokemon-Go-Hack/</link>
|
||||
<pubDate>Sat, 30 Jul 2016 18:10:20 -0400</pubDate>
|
||||
|
||||
<guid>/CoderSherlock.github.io/post/Pokemon-Go-Hack/</guid>
|
||||
<guid>https://codersherlock.github.io/post/Pokemon-Go-Hack/</guid>
|
||||
<description>
|
||||
|
||||
<h1 id="catch-them-all-until-bored">Catch them all until bored</h1>
|
||||
@@ -27,23 +27,21 @@ Anyway, after coming back, I think I write too much on useless words, so let me
|
||||
|
||||
<h2 id="todo-list">TODO List</h2>
|
||||
|
||||
<ul>
|
||||
<li>[X] Test API</li>
|
||||
<li>[ ] Finish Walk Algorithm</li>
|
||||
<li>[ ] Finish other movement, etc. catch, hatch</li>
|
||||
<li>[ ] Smart Walking route</li>
|
||||
<li>[ ] Pokemon Predict (Thanks to Pokevision&rsquo;s idea)</li>
|
||||
<li>[ ] Become a Pokemon Master</li>
|
||||
</ul>
|
||||
<p>-[x] Test API
|
||||
-[ ] Finish Walk Algorithm
|
||||
-[ ] Finish other movement, etc. catch, hatch
|
||||
-[ ] Smart Walking route
|
||||
-[ ] Pokemon Predict (Thanks to Pokevision&rsquo;s idea)
|
||||
-[ ] Become a Pokemon Master</p>
|
||||
</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Cross Compile Seafile 2 ARM</title>
|
||||
<link>/CoderSherlock.github.io/post/Cross-Compile-Seafile-2-ARM/</link>
|
||||
<link>https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/</link>
|
||||
<pubDate>Sat, 30 Jul 2016 14:02:34 -0400</pubDate>
|
||||
|
||||
<guid>/CoderSherlock.github.io/post/Cross-Compile-Seafile-2-ARM/</guid>
|
||||
<guid>https://codersherlock.github.io/post/Cross-Compile-Seafile-2-ARM/</guid>
|
||||
<description>
|
||||
|
||||
<h1 id="cross-compile-seafile-to-arm-platform">Cross Compile Seafile to ARM platform</h1>
|
||||
@@ -53,6 +51,77 @@ Anyway, after coming back, I think I write too much on useless words, so let me
|
||||
<p>This project is working for delta sync from mobile to server. Currently, there&rsquo;s no mobile program/solution has supporting to delta sync(Include Dropbox/ Goggle Drive). But the truth is that almost every pc version sync program can work as delta sync properly or not. So in this article, I&rsquo;ll provide a workbench for cross compilation and evaluation. And finally come up with a reason of how to port better incremental synchronize solution on mobile platform.</p>
|
||||
|
||||
<h2 id="pre-work">Pre-work</h2>
|
||||
|
||||
<h3 id="original-system-environment-configuration">Original System Environment Configuration</h3>
|
||||
|
||||
<pre><code>/# Android NDK sources and standalone toolchain is put here
|
||||
export DEV=${HOME}/dev
|
||||
|
||||
/# 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
|
||||
export PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig
|
||||
|
||||
/# 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)
|
||||
export BUILD_SYS=x86_64-linux-gnu
|
||||
|
||||
/# Set Android target API level
|
||||
export ANDROID_API=19
|
||||
|
||||
/# 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
|
||||
export ANDROID_TARGET=armv5te-none-linux-androideabi
|
||||
|
||||
/# The cross-compile toolchain we use
|
||||
export TOOLCHAIN=arm-linux-androideabi
|
||||
|
||||
/# This is a symlink pointing to the real Android NDK r10e
|
||||
export NDK=${DEV}/android-ndk
|
||||
|
||||
/# The path of standalone NDK toolchain
|
||||
/# Refer to https://developer.android.com/ndk/guides/standalone_toolchain.html
|
||||
export NDK_TOOLCHAIN=${DEV}/android-ndk-toolchain
|
||||
|
||||
/# Set Android Sysroot according to API and arch
|
||||
export SYSROOT=${NDK_TOOLCHAIN}/sysroot
|
||||
/# this one is the absolute, prebuilt path
|
||||
/# export SYSROOT=${NDK}/platforms/android-${ANDROID_API}/arch-${ANDROID_ARCH}
|
||||
|
||||
/# Binutils path
|
||||
export CROSS_PREFIX=${NDK_TOOLCHAIN}/bin/${TOOLCHAIN}
|
||||
/# 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
|
||||
export AR=${CROSS_PREFIX}-ar
|
||||
export AS=${CROSS_PREFIX}-as
|
||||
export LD=${CROSS_PREFIX}-ld
|
||||
export NM=${CROSS_PREFIX}-nm
|
||||
export CC=${CROSS_PREFIX}-gcc
|
||||
export CXX=${CROSS_PREFIX}-g++
|
||||
export CPP=${CROSS_PREFIX}-cpp
|
||||
export CXXCPP=${CROSS_PREFIX}-cpp
|
||||
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
|
||||
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}
|
||||
export CPPFLAGS=&quot;--sysroot=${SYSROOT} -I${SYSROOT}/usr/include -I${NDK_TOOLCHAIN}/include/c++/ -DANDROID -DNO_XMALLOC -mandroid&quot;
|
||||
export LIBS=&quot;-lc&quot;
|
||||
export LDFLAGS=&quot;-Wl,-rpath-link=-I${SYSROOT}/usr/lib -L${SYSROOT}/usr/lib -L${PREFIX}/lib -L${NDK_TOOLCHAIN}/lib&quot;
|
||||
</code></pre>
|
||||
</description>
|
||||
</item>
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
<!DOCTYPE html><html><head><link rel="canonical" href="CoderSherlock.github.io/post/"/><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="refresh" content="0;url=CoderSherlock.github.io/post/" /></head></html>
|
||||
<!DOCTYPE html><html><head><link rel="canonical" href="https://CoderSherlock.github.io/post/"/><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="refresh" content="0;url=https://CoderSherlock.github.io/post/" /></head></html>
|
||||
Reference in New Issue
Block a user