[android-porting] Re: Porting Gingerbread: compiling on 32-bit machine

2011-01-05 Thread Amit Saxena
Any help ? I am also facing same issue. Thanks Amit. On Dec 22 2010, 11:07 am, wei-ting Chang tt90...@gmail.com wrote: sorry, I have a problem target Java: Camera (out/target/common/obj/APPS/Camera_intermediates/ classes)

Re: [android-porting] Re: Porting Gingerbread: compiling on 32-bit machine

2010-12-22 Thread hedwin
Was able to build 2.3 on a 32bit machine with jdk 1.6 on ubuntu 10.10. Need to check but think I build generic-eng Tried 64bit but this resulted in errors. Some source is build 32bit but the linker wants to use 64bit lib's. 2010/12/22 張惟婷 tt90...@gmail.com: I use JDK 1.6 2010/12/22 hedwin

Re: [android-porting] Re: Porting Gingerbread: compiling on 32-bit machine

2010-12-22 Thread hedwin
Oh yeah, ubuntu (32 and 64) was running in virtualbox 2010/12/22 hedwin hedwin.kon...@gmail.com: Was able to build 2.3 on a 32bit machine with jdk 1.6 on ubuntu 10.10. Need to check but think I build generic-eng Tried 64bit but this resulted in errors. Some source is build 32bit but the

[android-porting] Re: Porting Gingerbread: compiling on 32-bit machine

2010-12-21 Thread G2
Correct for the first part. I forget to mention it. For the second point, I actually started to do the same but when I saw a lot of -m64 reference everywhere, I considered the sed as a little bit more dangerous (even if you do -name *.mk). Imagine that you have a file named *-m64* and it's called

Re: [android-porting] Re: Porting Gingerbread: compiling on 32-bit machine

2010-12-21 Thread n179911
How can I apply this patch after I check out the source code from android site? Thank you. On Mon, Dec 20, 2010 at 11:01 AM, G2 grego...@gentil.com wrote: The following patch works for me in order to compile Gingerbread on a 32-bit machine: --- a/external/clearsilver/java-jni/Android.mk  

[android-porting] Re: Porting Gingerbread: compiling on 32-bit machine

2010-12-20 Thread G2
The following patch works for me in order to compile Gingerbread on a 32-bit machine: --- a/external/clearsilver/java-jni/Android.mk 2010-12-20 09:30:02.379792000 -0800 +++ b/external/clearsilver/java-jni/Android.mk 2010-12-20 02:20:58.871792000 -0800 @@ -34,8 +34,8 @@ LOCAL_CFLAGS += -fPIC

Re: [android-porting] Re: Porting Gingerbread: compiling on 32-bit machine

2010-12-20 Thread Gregoire Gentil
Copy the content into a file named compile-on-32-bit.patch and type: patch -p1 compile-on-32-bit.patch Grégoire On Mon, 2010-12-20 at 11:29 -0800, n179911 wrote: How can I apply this patch after I check out the source code from android site? Thank you. On Mon, Dec 20, 2010 at 11:01

[android-porting] Re: Porting Gingerbread: compiling on 32-bit machine

2010-12-20 Thread Hemanth
Hi, The patch below is nice! Some additional information. 1. we have to comment out the error statement in main.mk(just added for the sake of being complete). build/core/main.mk:80 $(warning ) -$(error stop) +#$(error stop) 2. I use a