gnustep-dev
[Top][All Lists]
Advanced

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

Re: gnustep-base cross compile for Android


From: Ivan Vučica
Subject: Re: gnustep-base cross compile for Android
Date: Sat, 9 Mar 2013 14:15:02 +0100

Hello Emmanuel,

Can you share the patches and configure options?

I'm now stuck at getting gnustep-base to 'configure' correctly, and not complain about pthread_join(). I guess I could disable the test, but maybe there's a wiser way to do this.

On 9. 3. 2013., at 10:31, Emmanuel Maillard <address@hidden> wrote:

Hi,

I fixed the Makefile issue, sorry for the noise…

Now, libobjc2 and gnustep-base can be cross compile for Android.

For libobjc2 all runtime tests, except exceptions one, pass successfully :

I/ActivityManager(   61): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.objc.tests/.ObjectiveCTests } from pid 142
I/ActivityManager(   61): Start proc com.objc.tests for activity com.objc.tests/.ObjectiveCTests: pid=463 uid=10034 gids={}
D/dalvikvm(  463): Trying to load lib /data/data/com.objc.tests/lib/libruntime-test.so 0x40513070
D/dalvikvm(  463): Added shared lib /data/data/com.objc.tests/lib/libruntime-test.so 0x40513070
D/dalvikvm(  463): No JNI_OnLoad found in /data/data/com.objc.tests/lib/libruntime-test.so 0x40513070, skipping init
D/RuntimeTest(  463): testInvalidArguments() ran
D/RuntimeTest(  463): testAMethod() ran
D/RuntimeTest(  463): testAMethod() ran
D/RuntimeTest(  463): testGetMethod() ran
D/RuntimeTest(  463): testProtocols() ran
D/RuntimeTest(  463): testMultiTypedSelector() ran
D/RuntimeTest(  463): testClassHierarchy() ran
D/RuntimeTest(  463): testAllocateClass() ran
D/RuntimeTest(  463): Instance of NSObject: 0x2b7844
D/RuntimeTest(  463): Enter synchronized code
D/RuntimeTest(  463): testSynchronized() ran
D/RuntimeTest(  463): testExceptions() skipped
D/RuntimeTest(  463): testRegisterAlias() ran
I/ActivityManager(   61): Displayed com.objc.tests/.ObjectiveCTests: +918ms

testExceptions abort in objc_exception_throw because _Unwind_RaiseException return _URC_FAILURE.

I can cross-compile gnustep-base-1.24.0, with only libffi and libxml2 as dependencies, and without SSL subproject for now.
The shared library load successfully  on Android and some tests pass, see logcat.txt.

Cheers
Emmanuel

<logcat.txt>


Le 25 févr. 2013 à 18:42, Emmanuel Maillard <address@hidden> a écrit :

Hi,

I try to cross-compile gnustep-base-1.24.0 for Android.
I already have fix some issues (patches will come soon), I checked Makefiles but I didn't find how to fix this target issue.
(used makefiles are gnustep-make-2.6.2)

<snip>…</snip>
Compiling file NSMessagePortNameServer.m ...
Compiling file GSFFIInvocation.m ...
make[4]: *** No rule to make target `Additions/obj/subproject.o', needed by `obj/libgnustep-base.a'.  Stop.
make[3]: *** [internal-library-all_] Error 2
make[2]: *** [libgnustep-base.all.library.variables] Error 2
make[1]: *** [internal-all] Error 2
make: *** [internal-all] Error 2

Any help is welcome.

Thanks
Emmanuel


_______________________________________________
Gnustep-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/gnustep-dev

_______________________________________________
Gnustep-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/gnustep-dev



reply via email to

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