On Jun 26, 2000, Mo DeJong <[EMAIL PROTECTED]> wrote:

> On 26 Jun 2000, Alexandre Oliva wrote:
>> > I don't buy that: nobody will never change anything in their scripts,
>> 
>> If they won't change their scripts, then it's their fault.  By warning
>> in advance, we're exempting ourselves from being blamed for the change.

> That is an interesting point. Folks that are used to the current
> way will blame anyone that makes a change.

I hope not.  People at Cygnus have agreed that the change was correct,
it just wasn't supposed to happen in a minor release.

> I looked at examples on the web and found that some people were
> using --target instead of --host.

Even the GNU coding standards seem to be wrong :-(

When you want to build a cross compiler/assembler/etc, you should
specify --target, not --host.  You should specify --host when
`configure' is supposed to *use* a cross toolchain.  Oh, well... :-)

> The new way seems to be more straightforward (IMHO).

It's supposed to be :-)

> The part that most perplexed me were the comments telling me that
> --build was almost never used, when to do a cross it seems I would
> need to use --build.

And, indeed, you would, by the old scheme, because otherwise --host
would be assumed for --build.  That's why the change I propose doesn't
really change much: specifying --build in case of a cross compilation
was already necessary for correctness, even though it wouldn't always
be needed because few packages rely on $build.

>> > And you are rejecting the fact that you don't need to specify
>> > --build, you just need --host.  This is a huge step backwards!
>> 
>> We may have an `I-know-what-I'm-doing' option, such as --Host, for
>> example.

> What about a new option --xhost=TRIPLE?

I like it.  That seems exactly what Akim has been looking for:
something that the user can specify to not leave any doubt that cross
compilation is to take place.

> Actually, the GNU coding standards you mention could
> be read either way.

I was actually talking about the decision to drop support for TRIPLET
in the long run.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

Reply via email to