Re: gc 7.4.0 on Android
| Newsgroups | gmane.comp.programming.garbage-collection.boehmgc |
|---|---|
| Organization | Inria |
| Message-ID | <[email protected]> |
Hi Manuel, > 1. please check you NDK, it should have link.h file. I do have some link.h: % find android-ndk-r8e -name link.h android-ndk-r8e/platforms/android-8/arch-arm/usr/include/link.h android-ndk-r8e/platforms/android-9/arch-arm/usr/include/link.h android-ndk-r8e/platforms/android-9/arch-mips/usr/include/link.h android-ndk-r8e/platforms/android-9/arch-x86/usr/include/link.h android-ndk-r8e/platforms/android-14/arch-arm/usr/include/link.h android-ndk-r8e/platforms/android-14/arch-mips/usr/include/link.h android-ndk-r8e/platforms/android-14/arch-x86/usr/include/link.h android-ndk-r8e/platforms/android-5/arch-arm/usr/include/link.h android-ndk-r8e/platforms/android-4/arch-arm/usr/include/link.h android-ndk-r8e/platforms/android-3/arch-arm/usr/include/link.h but without me knowing why my GCC wrapper does not find any of them. It could be that the GCC wrapper I used is missing some directories. Just do be sure that we are understanding each other, please find attached this wrapper. I have been using since I have started developing on Android: If you have something else to suggest, I will be glad to test. > 2. dynamic register is not working on Android (looks like the condition > "tag == DT_DEBUG" is never satisfied on bionic), so you just skip the > code by -D IGNORE_DYNAMIC_LOADING. I use a workaround (works only on ARM I'm not sure to fully understand what you mean here. Should I use the -DIGNORE_DYNAMIC_LOADING C compilation option in order to disable dynamic loading? Is that what you are proposing. > platform) - insert GC_INIT() call into initialization code of each > dynamicakky loaded library. Ah. I will try that (I'm not sure I will find the time to test it this morning). Calling GC_INIT() many time is harmless, right? -- Manuel _______________________________________________ Gc mailing list Gc-V9/[email protected] http://www.hpl.hp.com/hosted/linux/mail-archives/gc/
droid-gcc
(application/octet-stream, 5 KB) - not displayed