This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ld fails to build for target




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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]