ld fails to build for target

Andrija Radicevic andrija.radicevic@zg.t-com.hr
Tue Apr 25 19:56:00 GMT 2006


>
> Since the error message that you get from configure.tgt show that it does 
> not recognise "e1-coff" it follows that this translation from "e1-coff" 
> into "e1-unknown-coff" is not being performed.  You need to check what is 
> happening in the ld/configure script around these lines:
>
>     # Canonicalize the secondary target names.
>     result=`$ac_config_sub $targ_alias 2>/dev/null`
>     if test -n "$result"; then
> targ=$result
>     else
> targ=$targ_alias
>     fi
>
>     . ${srcdir}/configure.tgt
>

I have found the part in my configure file, dough it looks a little bit 
different

    # Canonicalize the secondary target names.
    result=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $targ_alias 2>/dev/null`
    if test -n "$result"; then
 targ=$result
    else
 targ=$targ_alias
    fi

    . ${srcdir}/configure.tgt

obviously it must end up in the else branch (targ=$targ_alias) as you 
already said. Now I have to figure out why this happens.
Thanks for your help.

greetings

Andrija





More information about the Binutils mailing list