On Mon, May 24, 2010 at 10:05 PM, Yi Sun <beyo...@gmail.com> wrote: > Www.android-x86.org > > > NOTE: android-x86 is hardly anything officially supported.
> > > On 2010-5-24, at 11:12, NimeshChanchani <nimeshchanch...@gmail.com> wrote: > > Hi Dima, >> >> its been a while .. any updates on X86 porting? >> >> I'm adding support for WebM to "StageFright" and my purpose is to >> build and debug the "StageFright" multimedia framework natively using >> the stagefright executable in the cmds folder. Currently i'm using >> logcat to debug. >> >> I have 2 questions: >> >> 1. is it possible , i know it is , but has someone tried to port >> android and run the android kernel on a desktop PC? >> if yes what is the procedure? >> If the android kernel is up and running on a PC can I use gdb to debug >> any executable for eg stagefright test app in cmds? >> >> 2. If one used ubuntu what are the build macros: >> TARGET_PRODUCT=sim >> TARGET_SIMULATOR=true >> TARGET_BUILD_TYPE=debug >> >> is the TARGET_BUILD_TYPE debug and release similar to the windows >> concept of building debug with O0( no compiler optimization ) option >> and -g ( symbolic debug information enabled ) and release with O3 >> ( maximul compiler optimization ) >> >> Also what is TARGET_PRODUCT=sim vs generic ? for eg we execcute the >> >> nim...@nimesh-desktop:~/android$ emulator >> >> from the command line similarly where is the simulator located? and >> how do i use the simulator instead of the emulator? >> >> Best Regards, >> Nimesh >> >> On Jan 29 2009, 12:22 am, Dima Zavin <d...@android.com> wrote: >> >>> Actually, you don't need the -b cupcake anymore. It's been merged down to >>> master, so please update the doc :) >>> >>> Thanks. >>> >>> --Dima >>> >>> >>> >>> On Tue, Jan 27, 2009 at 10:56 PM, EricaJoy <ericajoyba...@gmail.com> >>> wrote: >>> >>> Hi all, >>>> >>> >>> I made this "how to" doc in the hopes that it would make it easier for >>>> someone to build Android for the Eee 701. >>>> >>> >>> http://docs.google.com/Doc?id=ajdmx8kfg357_81cmpr56f6 >>>> >>> >>> Please let me know if you would like edit rights, especially if you'd >>>> like to add information about how to build for a different x86 >>>> platform. >>>> >>> >>> Thanks, >>>> Erica >>>> >>> >>> On Jan 25, 6:16 am, "ashish.kre...@gmail.com" >>>> <ashish.kre...@gmail.com> wrote: >>>> >>>>> swap has been included twoce. It is there in standard stl libs. This >>>>> problem is visible with gcc4.3.x. >>>>> >>>> >>> open /$ANDROID_SOURCE_ROOT/external/webkit/WebKit/android/stl/ >>>>> algorithm in editor and comment lines 76 -83 >>>>> >>>> >>> //template<typename _Tp> >>>>> //inline void >>>>> //swap(_Tp& __a, _Tp& __b) >>>>> //{ >>>>> // _Tp __tmp = __a; >>>>> //__a = __b; >>>>> // __b = __tmp; >>>>> //} >>>>> >>>> >>> On Dec 11 2008, 9:53 pm, squix <dani.eichh...@squix.ch> wrote: >>>>> >>>> >>> Hi group >>>>>> >>>>> >>> Does anyone have an idea why I get this error? >>>>>> ============================================ >>>>>> TARGET_PRODUCT=generic >>>>>> TARGET_SIMULATOR= >>>>>> TARGET_BUILD_TYPE=release >>>>>> TARGET_ARCH=x86 >>>>>> TARGET_OS=linux >>>>>> HOST_ARCH=x86 >>>>>> HOST_OS=linux >>>>>> HOST_BUILD_TYPE=release >>>>>> BUILD_ID=TC3 >>>>>> ============================================ >>>>>> host C++: simulator <= development/simulator/app/DeviceManager.cpp >>>>>> In file included from /usr/include/wx-2.6/wx/memory.h:20, >>>>>> from /usr/include/wx-2.6/wx/object.h:25, >>>>>> from /usr/include/wx-2.6/wx/wx.h:16, >>>>>> from development/simulator/app/DeviceManager.cpp:12: >>>>>> /usr/include/wx-2.6/wx/string.h:771: error: âwxChar& >>>>>> wxString::operator >>>>>> [](unsigned int)â cannot be overloaded >>>>>> /usr/include/wx-2.6/wx/string.h:768: error: with âwxChar& >>>>>> wxString::operator[](size_t)â >>>>>> In file included from /usr/include/wx-2.6/wx/stream.h:26, >>>>>> from /usr/include/wx-2.6/wx/image.h:24, >>>>>> from /usr/include/wx-2.6/wx/gtk/cursor.h:23, >>>>>> from /usr/include/wx-2.6/wx/cursor.h:24, >>>>>> from /usr/include/wx-2.6/wx/event.h:32, >>>>>> from /usr/include/wx-2.6/wx/wx.h:23, >>>>>> from development/simulator/app/DeviceManager.cpp:12: >>>>>> /usr/include/wx-2.6/wx/filefn.h:322: error: zero width for bit-field >>>>>> âwxAssert_323::BadFileSizeTypeâ >>>>>> In file included from /usr/include/wx-2.6/wx/utils.h:38, >>>>>> from /usr/include/wx-2.6/wx/cursor.h:37, >>>>>> from /usr/include/wx-2.6/wx/event.h:32, >>>>>> from /usr/include/wx-2.6/wx/wx.h:23, >>>>>> from development/simulator/app/DeviceManager.cpp:12: >>>>>> /usr/include/wx-2.6/wx/longlong.h: In constructor >>>>>> âwxLongLongNative::wxLongLongNative(long int, long unsigned int)â: >>>>>> /usr/include/wx-2.6/wx/longlong.h:115: warning: left shift count >= >>>>>> width of type >>>>>> /usr/include/wx-2.6/wx/longlong.h: In member function âlong int >>>>>> wxLongLongNative::GetHi() constâ: >>>>>> pe >>>>>> /usr/include/wx-2.6/wx/longlong.h: In constructor >>>>>> âwxULongLongNative::wxULongLongNative(long unsigned int, long unsigned >>>>>> int)â: >>>>>> /usr/include/wx-2.6/wx/longlong.h:333: warning: left shift count >= >>>>>> width of type >>>>>> /usr/include/wx-2.6/wx/longlong.h: In member function âlong unsigned >>>>>> int wxULongLongNative::GetHi() constâ: >>>>>> /usr/include/wx-2.6/wx/longlong.h:351: warning: right shift count >= >>>>>> width of type >>>>>> In file included from development/simulator/app/LogWindow.h:13, >>>>>> from development/simulator/app/MainFrame.h:11, >>>>>> from development/simulator/app/MyApp.h:12, >>>>>> from development/simulator/app/DeviceManager.cpp:17: >>>>>> development/simulator/app/LogPrefsDialog.h: At global scope: >>>>>> development/simulator/app/LogPrefsDialog.h:28: warning: âtypedefâ was >>>>>> ignored in this declaration >>>>>> make: *** [out/host/linux-x86/obj/EXECUTABLES/simulator_intermediates/ >>>>>> DeviceManager.o] Error 1 >>>>>> >>>>> >>> Is this maybe a x86_64 specific problem? I followed the description >>>>>> for x86_64 and could do the "normal" build. But if I try to do the x86 >>>>>> "application-like" build I get that error... I'm trying this on a >>>>>> Ubuntu 8.10 system... >>>>>> >>>>> >>> Thanks, for any help >>>>>> >>>>> >>> On Dec 6, 12:49 am, Lucky-dog <honglian...@gmail.com> wrote:> I got >>>>>> >>>>> it. it located in out/host/linux-x86/bin. Thanks. >>>> >>> >>> On Dec 4, 10:28 am, Lucky-dog <honglian...@gmail.com> wrote: >>>>>>> >>>>>> >>> hi all >>>>>>>> I fixed it with renaming swap to swapab. But now I have another >>>>>>>> question needed your help. I can't let the following command get to >>>>>>>> >>>>>>> be >>>> >>>>> run. >>>>>>>> dx --dex --output=foo.jar Foo.class >>>>>>>> What is the dx command and where is it? Would you like to help >>>>>>>> >>>>>>> me >>>> >>>>> out? Thank you very much. >>>>>>>> >>>>>>> >>> On Dec 3, 10:12 pm, Lucky-dog <honglian...@gmail.com> wrote: >>>>>>>> >>>>>>> >>> hi all >>>>>>>>> when i try to compile the source on DEBUGx86. A error is >>>>>>>>> >>>>>>>> reported >>>> >>>>> out as below. Would you like to let me know how to fix it? Thank >>>>>>>>> >>>>>>>> you >>>> >>>>> very much. >>>>>>>>> thom...@ubuntu:~/mydroid$ make >>>>>>>>> build/core/product_config.mk:229: WARNING: adding test OTA key >>>>>>>>> build/core/main.mk:177: implicitly installing apns-conf_sdk.xml >>>>>>>>> ============================================ >>>>>>>>> TARGET_PRODUCT=sim >>>>>>>>> TARGET_SIMULATOR=true >>>>>>>>> TARGET_BUILD_TYPE=debug >>>>>>>>> TARGET_ARCH=x86 >>>>>>>>> TARGET_OS=linux >>>>>>>>> HOST_ARCH=x86 >>>>>>>>> HOST_OS=linux >>>>>>>>> HOST_BUILD_TYPE=release >>>>>>>>> BUILD_ID=TC3 >>>>>>>>> ============================================ >>>>>>>>> target thumb C++: libkjs <= >>>>>>>>> >>>>>>>> external/webkit/JavaScriptCore/bindings/ >>>> >>>>> NP_jsobject.cpp >>>>>>>>> In file included from /usr/include/c++/4.3/bits/stl_pair.h:65, >>>>>>>>> from /usr/include/c++/4.3/utility:68, >>>>>>>>> from external/webkit/JavaScriptCore/wtf/ >>>>>>>>> VectorTraits.h:27, >>>>>>>>> from external/webkit/JavaScriptCore/kjs/ >>>>>>>>> LocalStorage.h:29, >>>>>>>>> from external/webkit/JavaScriptCore/kjs/ >>>>>>>>> JSVariableObject.h:32, >>>>>>>>> from external/webkit/JavaScriptCore/kjs/ >>>>>>>>> JSGlobalObject.h:26, >>>>>>>>> from external/webkit/JavaScriptCore/bindings/ >>>>>>>>> NP_jsobject.cpp:32: >>>>>>>>> /usr/include/c++/4.3/bits/stl_move.h:80: error: redefinition of >>>>>>>>> 'template<class _Tp> void std::swap(_Tp&, _Tp&)' >>>>>>>>> external/webkit/JavaScriptCore/../WebCore/platform/android/stl/ >>>>>>>>> algorithm:65: error: 'template<class _Tp> void std::swap(_Tp&, >>>>>>>>> >>>>>>>> _Tp&)' >>>> >>>>> previously declared here >>>>>>>>> make: *** >>>>>>>>> >>>>>>>> [out/debug/host/linux-x86/product/sim/obj/STATIC_LIBRARIES/ >>>> >>>>> libkjs_intermediates/bindings/NP_jsobject.o] Error 1 >>>>>>>>> thom...@ubuntu:~/mydroid$ >>>>>>>>> >>>>>>>> >>> thom...@ubuntu:~/mydroid$ make >>>>>>>>> build/core/product_config.mk:229: WARNING: adding test OTA key >>>>>>>>> build/core/main.mk:177: implicitly installing apns-conf_sdk.xml >>>>>>>>> ============================================ >>>>>>>>> TARGET_PRODUCT=sim >>>>>>>>> TARGET_SIMULATOR=true >>>>>>>>> TARGET_BUILD_TYPE=debug >>>>>>>>> TARGET_ARCH=x86 >>>>>>>>> TARGET_OS=linux >>>>>>>>> HOST_ARCH=x86 >>>>>>>>> HOST_OS=linux >>>>>>>>> HOST_BUILD_TYPE=release >>>>>>>>> BUILD_ID=TC3 >>>>>>>>> ============================================ >>>>>>>>> target thumb C++: libkjs <= >>>>>>>>> >>>>>>>> external/webkit/JavaScriptCore/bindings/ >>>> >>>>> NP_jsobject.cpp >>>>>>>>> In file included from /usr/include/c++/4.3/bits/stl_pair.h:65, >>>>>>>>> from /usr/include/c++/4.3/utility:68, >>>>>>>>> from external/webkit/JavaScriptCore/wtf/ >>>>>>>>> VectorTraits.h:27, >>>>>>>>> from external/webkit/JavaScriptCore/kjs/ >>>>>>>>> LocalStorage.h:29, >>>>>>>>> from external/webkit/JavaScriptCore/kjs/ >>>>>>>>> JSVariableObject.h:32, >>>>>>>>> from external/webkit/JavaScriptCore/kjs/ >>>>>>>>> JSGlobalObject.h:26, >>>>>>>>> from external/webkit/JavaScriptCore/bindings/ >>>>>>>>> NP_jsobject.cpp:32: >>>>>>>>> /usr/include/c++/4.3/bits/stl_move.h:80: error: redefinition of >>>>>>>>> 'template<class _Tp> void std::swap(_Tp&, _Tp&)' >>>>>>>>> external/webkit/JavaScriptCore/../WebCore/platform/android/stl/ >>>>>>>>> algorithm:65: error: 'template<class _Tp> void std::swap(_Tp&, >>>>>>>>> >>>>>>>> _Tp&)' >>>> >>>>> previously declared here >>>>>>>>> make: *** >>>>>>>>> >>>>>>>> [out/debug/host/linux-x86/product/sim/obj/STATIC_LIBRARIES/ >>>> >>>>> libkjs_intermediates/bindings/NP_jsobject.o] Error 1 >>>>>>>>> thom...@ubuntu:~/mydroid$ >>>>>>>>> >>>>>>>> >>> thom...@ubuntu:~/mydroid$ make >>>>>>>>> build/core/product_config.mk:229: WARNING: adding test OTA key >>>>>>>>> build/core/main.mk:177: implicitly installing apns-conf_sdk.xml >>>>>>>>> ============================================ >>>>>>>>> TARGET_PRODUCT=sim >>>>>>>>> TARGET_SIMULATOR=true >>>>>>>>> TARGET_BUILD_TYPE=debug >>>>>>>>> TARGET_ARCH=x86 >>>>>>>>> TARGET_OS=linux >>>>>>>>> HOST_ARCH=x86 >>>>>>>>> HOST_OS=linux >>>>>>>>> HOST_BUILD_TYPE=release >>>>>>>>> >>>>>>>> >>> ... >>> >>> read more »- Hide quoted text - >>> >>> - Show quoted text - >>> >> >> -- >> unsubscribe: >> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> >> website: http://groups.google.com/group/android-porting >> > > -- > unsubscribe: > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> > website: http://groups.google.com/group/android-porting > -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting