ld fails to build for target

Andreas Schwab schwab@suse.de
Tue Apr 25 03:22:00 GMT 2006


"Andrija Radicevic" <andrija.radicevic@zg.t-com.hr> writes:

> this is the message from ld/configure.tgt which is at the end of the block
>
> case "${target}" in
>
> ...
> esac
>
> the thing is that I have the line
>
> e1-*-coff)  targ_emul=coff_e1 ;;
>
> in this block, but the case somehow doesn't evaluate the alias e1-coff to
> e1-*-coff

You need to make sure that config.sub translate e1-coff into, say,
e1-unknown-coff, ie. the command "./config.sub e1-coff" should print
"e1-unknown-coff".  All target matches in the configure scripts assume
that config.sub has canonicalized the target name into the CPU-VENDOR-OS
form.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Binutils mailing list