Comments (7)
You should modify the jam file in the config folder, too. Unfortunately just changing the the compiler name will not work as there are some arm-specific compile flags in there, too. Seems like there's a pretty good example of those over here.
from boost-for-android.
Thank you so much for the link, I'm going to try that to see if it works.
from boost-for-android.
That repository by itself actually did not work for me. So, I forked Boost-for-Android and added working (unsure whether they're optimized) configurations from the repo I linked before. I pretty much did a rewrite of the whole build script because it was messy and difficult to add multiabi support to.
Check out https://github.com/sorccu/Boost-for-Android/tree/multiabi-refactor if you're interested. I probably won't submit a pull request because the changes are massive.
from boost-for-android.
Your changes are indeed really nice, I'll see if I can integrate them into
the main project (into a different branch so it can be tested).
On Tue, Sep 2, 2014 at 5:59 AM, Simo Kinnunen [email protected]
wrote:
That repository by itself actually did not work for me. So, I forked
Boost-for-Android and added working (unsure whether they're optimized)
configurations from the repo I linked before. I pretty much did a rewrite
of the whole build script because it was messy and difficult to add
multiabi support to.Check out
https://github.com/sorccu/Boost-for-Android/tree/multiabi-refactor if
you're interested. I probably won't submit a pull request because the
changes are massive.—
Reply to this email directly or view it on GitHub
#79 (comment)
.
Moritz Wundke
www.MysticTreeGames.com
www.DarkCultureGames.com http://www.darkculturegames.com/
from boost-for-android.
@sorccu Thank you so much for the reply.
Unfortunately neither your repository nor the other one worked for me, but using your jam file in the config folder I've got the idea.
And, using the following changes in the jam file I've managed to build the Android-x86 version:
import os ;
local AndroidNDKRoot = [ os.environ AndroidNDKRoot ] ;
--------------------------------------------------------------------
using gcc : androidR8e
:
i686-linux-android-g++
:
i686-linux-android-ar
-fexceptions
-frtti
-fpic
-ffunction-sections
-funwind-tables
-Os
-fomit-frame-pointer
-fno-strict-aliasing
-finline-limit=64
-I$(AndroidNDKRoot)/platforms/android-9/arch-x86/usr/include
-Wa,--noexecstack
-DANDROID
-D__ANDROID__
-DNDEBUG
-O2
-g
-I$(AndroidNDKRoot)/sources/cxx-stl/gnu-libstdc++/4.8/include
-I$(AndroidNDKRoot)/sources/cxx-stl/gnu-libstdc++/4.8/libs/x86/include
@moss - Above are the 'official' android flags
x86
-fvisibility=hidden
-fvisibility-inlines-hidden
-fdata-sections
-D_REENTRANT
-D_GLIBCXX__PTHREADS
;
Thank you so much :)
from boost-for-android.
Hey thanks sorccu for the update. I have prebuilt the libraries if anyone doesn't have time to do it themselves! Includes Arm and x86 libs
https://github.com/emileb/Boost-for-Android-Prebuilt
from boost-for-android.
Dear Emile,
I got it.
Thank you very much! It’s very useful for me.
BR
Gavin
发件人: bounces+848413-69f1-space.man=[email protected] [mailto:bounces+848413-69f1-space.man=[email protected]] 代表 Emile Belanger
发送时间: 2015年1月29日 23:18
收件人: MysticTreeGames/Boost-for-Android
主题: Re: [Boost-for-Android] Android-x86 support (#79)
Hey thanks sorccu for the update. I have prebuilt the libraries if anyone doesn't have time to do it themselves! Includes Arm and x86 libs
https://github.com/emileb/Boost-for-Android-Prebuilt
—
Reply to this email directly or view #79 (comment) it on GitHub. https://github.com/notifications/beacon/AJiOcDAbBKzh2jZc-118xqFfbhkjPaRCks5nmkatgaJpZM4CYH7c.gif
from boost-for-android.
Related Issues (20)
- Could not find a suitable toolset. HOT 1
- Bump boost version to 1.77 and disable statx syscall HOT 1
- Error before patch, on windows, how to fix? HOT 1
- when Suppport 1.7.7?
- Fixed ndk[19,20,21,22] building failed bug.
- Can you update the shell of 1.77.0 version ,thanks
- Error: No best alternative for libs/context/build/asm_sources HOT 1
- i build boost success but i build project faild HOT 5
- build-boost-without-version-number-suffixes
- Boost 1.74.0 armv7a
- boost_version for 1.72.0
- windows does not compile HOT 3
- "Undefined or not supported Android NDK version: 23.2" on GitHub Actions HOT 2
- fail to identify Windows when using '--with-conv'
- Can't build NDK
- Open source license HOT 2
- How to generate shared libboost_xxxx.so without the version number such as .so.1.74.0 HOT 2
- Please stop requiring approvals for pull requests HOT 3
- Add NDK 26.1 and 26.2 to build-android.sh
- Build Boost 1.70.0 By NDK r21e, product libthread libsystem size is unnormal
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boost-for-android.