LWN.net Logo

Well, it's nice to ignore facts...

Well, it's nice to ignore facts...

Posted Aug 22, 2011 16:25 UTC (Mon) by endecotp (guest, #36428)
In reply to: Well, it's nice to ignore facts... by cmccabe
Parent article: HP dropping webOS devices

> Debugging multi-threaded native code (aka NDK code, aka C/C++
> code), is broken on Android 2.2 but it works on Android 2.3 and
> above.

Right. I own 4 Android devices, and currently only one of them has >=2.3 available; that's my Galaxy Tab, and Samsung released the update just a few weeks ago. So on my other 3 devices I can still only do "printf-style" debugging. My Motorola Defy has only just got an update to 2.2!

It's actually even worse than that; on the 2.2 Galaxy Tab some vital symlink or somesuch was missing, which made even single-threaded native debugging impossible.

> the older NDK kits do not support C++ exceptions.

Right, that's one of the other surprising "bad things" that I was referring to. I was able to work around it by installing a hacked version of the tools from crystax.net.

> There is this thing called Objective C++ that you can use on
> iOS if you want.

I'm very familiar with it :-)

> However, that is not necessarily a good idea. Basically, Apple views
> Objective C as replacement for C++, and only supports Objective C++
> for compatibility reasons.

"Citation Required".


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds