google breakpad无法在cygwin下为android编译

时间:2012-07-18 18:55:47

标签: android-ndk cygwin google-breakpad

我从svn清理了google breakpad,并尝试使用cygwin for android编译它。然而,情况并不顺利。

cd <google-breakpad>
android/run-checks.sh --ndk-dir=<my-ndk-dir> --tmp-dir=$PWD/bin --no-cleanup --no-device --verbose

我收到错误Can't build host-tools,原因是:

cc1plus: error: unrecognized command line option "-Werror=non-virtual-dtor"
cc1plus: error: unrecognized command line option "-Werror=vla"
cc1plus: error: unrecognized command line option "-Werror=unused-variable"
cc1plus: error: unrecognized command line option "-Werror=missing-braces"
cc1plus: error: unrecognized command line option "-Werror=overloaded-virtual"

如果我修改makefile以将这些警告删除为错误选项,那么构建会更进一步,但无法找到明显存在的文件:

Could not rebuild Android client library!
arm-linux-androideabi-g++.exe: /cygdrive/c/Users/Tom/dev/android/modules/google_breakpad/android/../src/client/linux/log/log.cc: No such file or directory

可是:

$ ls -l /cygdrive/c/Users/Tom/dev/android/modules/google_breakpad/android/../src/client/linux/log/log.cc
-rw-r--r-- 1 Tom None 2.0K Jul 16 20:49 /cygdrive/c/Users/Tom/dev/android/modules/google_breakpad/android/../src/client/linux/log/log.cc

所有文件都以同样的方式失败 - 而不仅仅是那个。

任何帮助表示感谢。

0 个答案:

没有答案