It's just that nobody has put in the work to having Android work on big endian CPUs. For example, if you are cross-compiling from PPC to ARM, then the appt tool will be running on a big endian CPU, but needs to generate the final binary data as little endian. Likewise if you are trying to run on a big endian CPU, many of the resource (and I believe Dalvik) data structures are defined to be little endian, so you will need all of the code to do the byte swapping at runtime to read these.
On Mon, Mar 16, 2009 at 2:44 AM, Anand Android <[email protected]>wrote: > hi Dianne Hackborn, > Thanks for the reply. > can you explain the problem little more as am newbie to android things? > > with regards, > Ananda > > > > On Sat, Mar 14, 2009 at 2:20 AM, Dianne Hackborn <[email protected]>wrote: > >> This just isn't going to work, without someone putting in some effort. >> There is some pretense in aapt and the rest of the system to run on big >> endian CPUs, however this hasn't been used in years if ever so is sure to be >> broken. >> >> >> On Fri, Mar 13, 2009 at 3:45 AM, an...@android >> <[email protected]>wrote: >> >>> >>> hello guys , >>> I'm trying to build android for ppc platform . >>> I'm gettting segmentation fault when the build process is tries to >>> execute 'aapt' binary. >>> >>> >>> here is the error log. >>> --------------------------- >>> out/debug/host/linux-ppc64/bin/aapt package -z -u -x -M frameworks/ >>> base/core/res/AndroidManifest.xml -S frameworks/base/core/res/res -A >>> frameworks/base/core/res/assets -F out/target/common/obj/APPS/ >>> framework-res_intermediates/package-export.apk >>> target R.java/Manifest.java: framework-res (out/target/common/obj/APPS/ >>> framework-res_intermediates/src/R.stamp) >>> out/debug/host/linux-ppc64/bin/aapt package -x -m -z -J out/target/ >>> common/obj/APPS/framework-res_intermediates/src -M frameworks/base/ >>> core/res/AndroidManifest.xml -P out/target/common/obj/APPS/framework- >>> res_intermediates/public_resources.xml -S frameworks/base/core/res/res >>> -A frameworks/base/core/res/assets >>> frameworks/base/core/res/AndroidManifest.xml:723: WARNING No comment >>> for public symbol android:permission/FOTA_UPDATE >>> frameworks/base/core/res/AndroidManifest.xml:878: WARNING No comment >>> for public symbol android:permission/MASTER_CLEAR >>> | >>> | >>> | >>> | >>> | >>> frameworks/base/core/res/res/values/public.xml:657: WARNING No comment >>> for public symbol android:style/Widget.TabWidget >>> frameworks/base/core/res/res/values/public.xml:639: WARNING No comment >>> for public symbol android:style/Widget.TextView >>> frameworks/base/core/res/res/values/public.xml:646: WARNING No comment >>> for public symbol android:style/Widget.TextView.PopupMenu >>> frameworks/base/core/res/res/values/public.xml:647: WARNING No comment >>> for public symbol android:style/Widget.TextView.SpinnerItem >>> frameworks/base/core/res/res/values/public.xml:656: WARNING No comment >>> for public symbol android:style/Widget.WebView >>> make: *** [out/target/common/obj/APPS/framework-res_intermediates/src/ >>> R.stamp] Segmentation fault >>> >>> --------------------------- >>> >>> can anyone help me out with problem? >>> >>> >>> Thanks in advance >>> >>> Ananda >>> >>> >>> >>> >>> >>> >> >> >> -- >> Dianne Hackborn >> Android framework engineer >> [email protected] >> >> Note: please don't send private questions to me, as I don't have time to >> provide private support. All such questions should be posted on public >> forums, where I and others can see and answer them. >> >> >> >> > > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
