> -----Original Message-----
> From: Pavel Roskin [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 26, 2000 7:09 PM
> To: Bernard Dautrevaux
> Cc: Ian Lance Taylor; [EMAIL PROTECTED]; 
> [EMAIL PROTECTED];
> [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: Is this a bug in autoconf? (patch included)
> 
> 
> Hello, Bernard!
> 
> > > Packages that include AC_CANONICAL_* will have all those variables
> > > defined. $host will be compared with $build. 
> Cross-compiling will be
> > > assumed when and only when $host != $build
> > > 
> > > Does this sound reasonable?
> > > 
> > 
> > Seems OK for me at least :-)
> 
> Your next message says exactly the opposite. We cross-compile even if
> $host == $build

I think I've read (or typed) a bit too fast :-) I was agreeing that we cross
compile if and only if we *define* host explicitely (presumably with a value
different from the value of build, being set implicitely by config.guess or
explicitely by --build).

> 
> Anyway, I don't insist that we should compare them. 

Me neither, as this may prove *very* difficult :-)

> Which means:
> 
> - everybody specifying "--host" to any value forces configure 
> to assume
> cross-compilation. This should apply to all packages, whether they can
> canonicalize triplets or not.

Seems the right way to understand setting --host

> 
> - anybody who doesn't want to cross-compile should never 
> specify "--host",
> but they are free to specify "--build" if "configure" accepts 
> this option.

Maybe configure should always accept --build for the sake of regularity
(even if it is not documented if not useful)?

> 
> Ok?
> 

OK!

Regards,

        Bernard

--------------------------------------------
Bernard Dautrevaux
Microprocess Ingéniérie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel:    +33 (0) 1 47 68 80 80
Fax:    +33 (0) 1 47 88 97 85
e-mail: [EMAIL PROTECTED]
                [EMAIL PROTECTED]
-------------------------------------------- 

Reply via email to