Hi,

Sorry to hijack this thread, but this kind of problem is so often raised
here that I cannot help asking.

Le jeudi 11 octobre 2012 à 15:59 +0200, Florian Fainelli a écrit :
> That's not even your cross-gcc here, is it trying to build some host tool?
> If so you should also stage libffi into the host staging dir for it to be 
> found

This kind of problem is at the heart of every “port” to OpenWRT; why not
simply ignore _every_ host's bin directory from the PATH and only use
the staging ones we built? Because there are too many of them to build?
Because nobody made a list of what is really needed? Do you think this
would be possible? Or is it useless?

Maybe we could create a “fake” bin/ dir, with symlinks to every host's
tool in /bin or /usr/bin that is “cross-compilation-friendly”, e.g.
make, awk, grep, … And after that, list what is missing, and include
that in staging.

What do you think? I see so many problems of this kind, hit by people
not very knowledgeable on cross-compilation, that this would help
greatly, I think.

Regards,
benjamin

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to