Dear maintainer, I recently compiled lftp for an ARM architecture.
At first, the cross-compilation didn't work, because of the m4 macro LFTP_POSIX_FALLOCATE_CHECK. More precisely, the AC_TRY_RUN part, which doesn't have the fourth argument "action-if-cross-compiling". When cross-compiling, we can't run code, but we can at least compile it. This is especially important for uClibc. The current 0.9.33.2 version doesn't provide posix_fallocate. But, if I build in the latest version of buildroot, the uClibc is patched to add support for posix_fallocate. So, the situation is a little bit tricky, we can't know for sure if posix_fallocate is available until we compile it. To solve this situation as smoothly as possible, I propose to add a test in case of cross-compilation: the test simply tries a compilation, and if it's OK, we assume posix_fallocate works. The patch comes in the next mail (if I manage to use git send-email correctly). Feel free to tell me what you think about it. Best regards, Arnaud _______________________________________________ lftp-devel mailing list lftp-devel@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp-devel