Giter Site home page Giter Site logo

Comments (7)

sorccu avatar sorccu commented on July 18, 2024

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.

NuLL3rr0r avatar NuLL3rr0r commented on July 18, 2024

Thank you so much for the link, I'm going to try that to see if it works.

from boost-for-android.

sorccu avatar sorccu commented on July 18, 2024

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.

moritz-wundke avatar moritz-wundke commented on July 18, 2024

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.

NuLL3rr0r avatar NuLL3rr0r commented on July 18, 2024

@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.

emileb avatar emileb commented on July 18, 2024

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.

yuanguangyong avatar yuanguangyong commented on July 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.