[android-developers] Re: Anyone success to build emulator for Windows?
Hey, According with this link, http://android.git.kernel.org/?p=platform/development.git;a=blob_plain;f=tools/eclipse/README_WINDOWS.txt;hb=HEAD, some cygwin packets are necessarily. But it missed one: flex. Regards Breno On Jan 5, 8:04 am, Tim tim.ka...@gmail.com wrote: Hi HISONA, It works, thx! Btw, step 2 Remark the -lpthread, should be not needed if you installed pthread for mingw as below :) install pthread for mingw 1. download pthreads-w32-2-8-0-release.tar.gz fromftp://sourceware.org/pub/pthreads-win32 2. tar -zxvf pthreads-w32-2-8-0-release.tar.gz 3. cd pthreads-w32-2-8-0-release 4. make clean GC-static 5. cp libpthreadGC2.a /mingw/lib/libpthread.a 6. cp pthread.h /mingw/include/pthread.h end On Dec 26 2008, 1:11 pm, HISONA hison...@gmail.com wrote: Hi, android-emulator-1.0_r2.tar.bz2 has some bug ... 1. Copy the qemu\android\config\windows\config-host.h to qemu \config-host.h 2. Remark the -lpthread option in qemu\Makefile.android line 476. 3. Execute sh build-emulator.sh in root directory. Good luck ... http://ohadev.tistory.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Anyone success to build emulator for Windows?
Hi HISONA, It works, thx! Btw, step 2 Remark the -lpthread, should be not needed if you installed pthread for mingw as below :) install pthread for mingw 1. download pthreads-w32-2-8-0-release.tar.gz from ftp://sourceware.org/pub/pthreads-win32 2. tar -zxvf pthreads-w32-2-8-0-release.tar.gz 3. cd pthreads-w32-2-8-0-release 4. make clean GC-static 5. cp libpthreadGC2.a /mingw/lib/libpthread.a 6. cp pthread.h /mingw/include/pthread.h end On Dec 26 2008, 1:11 pm, HISONA hison...@gmail.com wrote: Hi, android-emulator-1.0_r2.tar.bz2 has some bug ... 1. Copy the qemu\android\config\windows\config-host.h to qemu \config-host.h 2. Remark the -lpthread option in qemu\Makefile.android line 476. 3. Execute sh build-emulator.sh in root directory. Good luck ... http://ohadev.tistory.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Anyone success to build emulator for Windows?
To build the SDK for Windows, look at this: http://android.git.kernel.org/?p=platform/development.git;a=blob_plain;f=tools/eclipse/README_WINDOWS.txt;hb=HEAD It's a bit old but step #2 is still mostly valid except you MUST make sure cygwin is in binary/unix mode and not text/dos mode. Also the main script moved: make_windows_sdk.sh moved to [platform/development.git] / build / tools / make_windows_sdk.sh http://android.git.kernel.org/?p=platform/development.git;a=blob;f=build/tools/make_windows_sdk.sh;h=f49165ce31098bf1586701dddb2987ebec2d998c;hb=HEAD Unless you are actually changing the tools, quite frankly just get the prebuilt ones, it's much easier. R/ On Wed, Dec 24, 2008 at 2:46 AM, Tim tim.ka...@gmail.com wrote: Just trying to build out android-emulator-1.0_r2.tar.bz2 for windows target with mingw/msys, but failed:( Error log is as below. Anyone can help me out? Thanks in advance. Host: Winxp sp2 / MingW 5.1.4 / MSYS-1.0.11 / gcc 3.4.5 And it seems no official document about how build android sdk/tools for Windows. I wonder how Google do that? config.log …… ./configure: line 39: 3028 Segmentation fault (core dumped) ( set +x; test -z `(eval $as_var=C; export $as_var) 21` ) checking build system type... i686-pc-mingw32 checking host system type... i686-pc-mingw32 checking for gcc... gcc checking for C compiler default output file name... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... ./configure: line 2245: 4332 Segmentation fault (core dumped) ( eval $ac_compile ) 25 configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. ERROR: could not build SDL library, please check their sources …… == --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---