On Apr 21, 2000, Mo DeJong <[EMAIL PROTECTED]> wrote:

> On 21 Apr 2000, Alexandre Oliva wrote:
>> On Apr 21, 2000, Mo DeJong <[EMAIL PROTECTED]> wrote:
>> 
>> > So if it should have been "internal" then why do I need to add the
>> > AC_CANONICAL_BUILD macro to my configure.in file to get cross
>> > compiling to work?

> But the docs tell me I only need AC_CANONICAL_SYSTEM if I am
> a tool in a cross compiler toolchain.

Yep, that's right.  The point is that you should seldom need
information about the build platform.  So AC_CANONICAL_SYSTEM, that
sets build, host and target, is useful for cross-compiler toolchains
because it sets target, and target is useless for any other kind of
application.

-- 
Alexandre Oliva    Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me

Reply via email to