求助关于cygwin编译android问题

469总是这个错误啊,怎么回事?哪位详细说下解决理法

运行cygwin,在弹出的命令行窗口输入:cygcheck -c cygwin命令,会打印出当前cygwin的版本和运行状态,如果status是ok的话,则cygwin运行正常。
然后依次输入gcc ?v,g++ --version,make ?version,gdb ?version进行测试,(注意空格和-)如果都打印出版本信息和一些描述信息,这说明cygwin安装成功了。

cygwin,mingw,环境变量都是弄好的。。总是这错误。。。求解

:smiley: 怎么是 Built for i386-pc-mingw32 ?楼主不是用cyg交叉编译的么?

你没装gun make吧?或者你make没配置好,看起来像这问题

你在cyg输入下面这个命令
$ make --ver

GNU Make 3.82.90
Built for i686-pc-cygwin
Copyright © 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

会返回如上的 make 版本信息么?

— Begin quote from ____

hxl35 发表于 2012-8-28 10:52 url

你在cyg输入下面这个命令
$ make --ver

— End quote

$ make -ver
GNU Make 3.82
Built for i386-pc-mingw32
Copyright © 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

— Begin quote from ____

hxl35 发表于 2012-8-29 09:33 url

怎么是 Built for i386-pc-mingw32 ?楼主不是用cyg交叉编译的么?

— End quote

额。。。意思是MinGW要下载I686的?那我WIN7能用吗、。?

— Begin quote from ____

hxl35 发表于 2012-8-29 09:33 url

怎么是 Built for i386-pc-mingw32 ?楼主不是用cyg交叉编译的么?

— End quote

就是使用2DX的create android项目,然后去cygwin ./build_native.sh啊,就出现上面的错误了。。。

:frowning: 我的CYG木有装mingw,不晓得是不是因为装了mingw,所以make 会 Built for i386-pc-mingw。
我用gcc完全跑的动的说

gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)