Hi, On 7 June 2011 11:43, Obinou <obcons...@gmail.com> wrote: > I'm *not* very happy with my work on this: > Building this package create the "protoc" tool to create some C++ files. > But since it is cross-compiling, of course the protoc tool that is build is > made for the target. > So, later during the build, when the protoc tool is invoked on the host the > compilation failed, since it's not able to execute this binary file.
It seems the protoc binary is only needed for compiling the library (since you don't package it). In that case, you have $(HOSTCC), $(HOST_CFLAGS) and $(HOST_LDFLAGS) available that you can pass the Makefile (or configure script) for binaries to be run on the build host. Jonas _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel