Thanks
Richard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com
To unsubscribe from this group, send email to android-ndk...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en
-~----------~----~----~----~------~----~------~--~---
That's not the URL you were asking for, but I'm using advice from this
guy:
http://sseyod.blogspot.com/2009/08/android-ndk-getting-stlport-up-and.html
So far, works like a charm.
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
--
Martins Mozeiko
> --
> You received this message because you are subscribed to the Google Groups "android-ndk" group.
> To post to this group, send email to andro...@googlegroups.com.
> To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.
>
It's very interesting, I'll try that. Are you have only windows version
of toolkit? I'm interesting in Linux and MacOSX versions too. Maybe you
will share your knowledge what to do to build the same toolchain from
sources?
Dmitry Moskalchuk
26.01.2010 18:52, Martins Mozeiko пишет:
> I needed STL& RTTI support for building LLVM under Android.
Also I removed "%{!fexceptions:-fno-exceptions} " \ string from it.
This enabled C++ exception suppor
Then I added --enable-libstc__-v3 to build\tools\build-toolchain.sh script to $TOOLCHAIN_SRC/configure line (around line 373).
THis enabled STL support.
Then I commented out downloading/unpacking sources (download_package and unpack_package lines around line 353).
After that I edited build\toolchains\arm-eabi-4.2.1\setup.mk file. From it I removed -fno-exceptions and -fno-rtti
Then I run build-toolchain.sh script again.
There was some errors about redeclaration functions but those I solved by simply commenting out second function declaration in gcc sources.
After that I got tar.bz2 file with working android ndk with RTTI, exception and STL support. I unpacked it into build\prebuild directory after removing what was inside it.
Before using it you will need to remove files new/typeinfo/utility from platforms\android-3/4/common/include directory. They now are provided with STL.
You can always add -fno-exceptions and -fno-rtti flags to LOCAL_CFLAGS to get executable build without rtti/exceptions.
Maybe I have forgotten something small details. But I think that covers main things I did.
--
Martins Mozeiko
Dmitry Moskalchuk
27.01.2010, в 16:00, Martins Mozeiko написал(а):
--
Martins Mozeiko
On Jan 27, 2010, at 13:39 , Dmitry Moskalchuk wrote:
> Thank you very much, Martins! I'll try that soon and inform if it would help. One more question - did you tested result using gcc unit tests or something other?
>
>
> Dmitry Moskalchuk
>
> 27.01.2010, в 16:00, Martins Mozeiko написал(а):
>
>> Well, I did that on cygwin. Its definitely possible also in linux or macox.
>> What I did was - I run build\tools\build-toolchain.sh script. I waited for it to download and unpack android-ndk-toolcainh-20090323.tar.bz2 file.
Just want to inform that I've successfully created customized ndk for
linux and darwin using your instructions. See my post to details -
http://groups.google.com/group/android-ndk/msg/4de3dd6105eb26ce
Dmitry Moskalchuk
27.01.2010 17:04, Martins Mozeiko пишет:
I was able to build the customized sdk based on Martins instructions.
But I don't see the STL header files in the customized sdk.
In your customized sdk, I see that the STL headers are residing
under ...\arm-eabi\include\c++. How did you get the include files?
Do I need to enable some other setting in the build process.
Regards,
Ganesh
On Jan 28, 5:06 pm, Dmitry Moskalchuk <crys...@gmail.com> wrote:
> Hi Martins,
>
> Just want to inform that I've successfully created customized ndk for
> linux and darwin using your instructions. See my post to details -http://groups.google.com/group/android-ndk/msg/4de3dd6105eb26ce
> >>>>>>http://sseyod.blogspot.com/2009/08/android-ndk-getting-stlport-up-and...
Did you have specified '--enable-libstdc__-v3' parameter for configure
in build-toolchain.sh? I've created diff which need to be applied to
android-ndk-1.6_r1 and then all you need is to run (patched)
build-toolchain.sh. That's all. No additional steps required.
See diff here - http://www.crystax.net/data/android-ndk-1.6_r1-crystax.diff
Dmitry Moskalchuk
Martins email has a d missing in "--enable-libstdc__-v3", so I guess I
never ran it with the correct settings in build-toolchain.sh.
I realized my mistake after looking at your diff file.
Thanks a lot for your response.
Regards,
Ganesh
On Feb 11, 6:42 pm, Dmitry Moskalchuk <crys...@gmail.com> wrote:
> Hi,
>
> Did you have specified '--enable-libstdc__-v3' parameter for configure
> in build-toolchain.sh? I've created diff which need to be applied to
> android-ndk-1.6_r1 and then all you need is to run (patched)
> build-toolchain.sh. That's all. No additional steps required.
> See diff here -http://www.crystax.net/data/android-ndk-1.6_r1-crystax.diff