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


Hi Andrija,

Lets have a look at these ld/configure.tgt and config.sub files of yours. Can you tar them up, zip them up and then post them ?

here are the files

Right, so the config.sub file you sent does translate "e1-coff" into "e1-unknown-coff" and the configure.tgt file does recognise a target of "e1-unknown-coff".


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

This starts at line 9702 in the version of the configure file that I have here. Presumably the invocation of "result=`$ac_config_sub $targ_alias`" is not working. You need to find out why.

Cheers
  Nick


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