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 <[email protected]> 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) 2>&1`" )
> 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 ) 2>&5
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to