gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: undefined reference to __gnustep_objcxx_personality_v0


From: Ivan Vučica
Subject: Re: undefined reference to __gnustep_objcxx_personality_v0
Date: Sun, 27 Dec 2015 00:22:27 +0000

On Sat, Dec 26, 2015 at 6:16 PM Dmitry Moskalchuk <address@hidden> wrote:
> Your patch [2] is applied to the long-deprecated Makefile.  Is CMake problematic for you?

CMake is not too problematic, but right now I'd prefer make libobjc2
working and not spend time fighting with CMake.

> I thought that the Android NDK came with a CMake toolchain file that makes cross-building easy.

Two points here:
- No, there is no official support of CMake in Android NDK. There is
community support though, but it works in some cases, and don't work in
another; in other words, there is still no good support for Android, at
least the same good as for GNU/Linux.
- Here I'm building libobjc2 with CrystaX NDK, which is alternative fork
of Google's Android NDK. Main goal of CrystaX NDK is to provide POSIX
conforming toolchain and environment for Android native development. You
couldn't build libobjc2 with Google's Android NDK due to lack of many
underlying features in Android libc, and limitations of their toolchains.

FWIW, while I didn't touch this project in a while (years are truly flying by lately), I seem to remember it /did/ build libobjc2 using CMake and with stock NDK?
  https://bitbucket.org/ivucica/gnustep-android
It certainly tries to:
  https://bitbucket.org/ivucica/gnustep-android/src/tip/phases/30-build-libobjc2.sh


reply via email to

[Prev in Thread] Current Thread [Next in Thread]