[asterisk-dev] Cross-compiling for embedded platforms using openWRT

Kevin P. Fleming kpfleming at digium.com
Mon Jan 1 21:02:34 MST 2007


Brian Capouch wrote:
> In other words, how does one know that pg_config ought to be built for
> the host instead of the target--I'm not super-familiar with it.  Perhaps
> its only function in life is to inform build scripts?

Yep, that's exactly it. If the binary being built has its only purpose
as a tool for other packages to use to build against this one, then it
should be built to run on the host where that package is going to be
staged, not the one where it is going to be run.


More information about the asterisk-dev mailing list