Re: How AC_PROG_CC find the cross-compiler?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Tzu-Chien Chiu" <tzuchien.chiu@xxxxxxxxx> writes:

> Thank you. It works now.
>
> But I am confused. Are the definitions of build, host and target (to
> configure script) different in the cases:
> (1) building the cross-compiler
> (2) building a software with a cross-compiler
>
> In (1), target is used to specify where the built program will run.
> But in (2), host instead is used.

It is always the *host* is where the built program will run.  When you
build a cross compiler, the built compiler will run on the *host*.  The
*target* (which is only meaningful in compiler-related tools) does not
come into play until you actually run the cross compiler, i.e. when you
build something with it.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@xxxxxxx
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux