Hello all

I'm trying to build git for android with NDK toolchain but fail. The 
configure script ends with error after checking for regexp.h.
configure output:
checking for getaddrinfo... yes
checking for library containing getaddrinfo... none required
checking whether the platform regex can handle null bytes... no
checking whether system succeeds to read fopen'ed directory... configure: 
error: in `/Users/HounD/src/git':
configure: error: cannot run test program while cross compiling
See `config.log' for more details

configure:5330: checking whether the platform regex can handle null bytes
conftest.c:52:19: fatal error: regex.h: No such file or directory
compilation terminated.

I've tried to add CFLAGS=<my_git_source_path>/compat/regex but got the same 

I also tried to build PCRE lib for android (successfully) and build git 
with PCRE support but got the same error (it's real strange to look for 
regexp.h if build with PCRE).

So can anyone help me?

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to