RFA: Include OPT_EXTRA_PARTS in SH's t-elf
Thu Apr 20 16:54:00 GMT 2006
Hi Joern, Hi Alex,
I am not sure if this qualifies as an obvious patch, so please could
you approve or reject the attached patch. It adds OPT_EXTRA_PARTS
to the end of EXTRA_MULTILIB_PARTS in gcc/config/sh/t-elf. I found
that this was necessary because, for an sh-elf targeted toolchain,
newlib no longer builds due to this error message when configuring
.../gcc/current/sh-elf/./gcc/collect-ld: cannot find -lgcc-Os-4-200
collect2: ld returned 1 exit status
In fact I am not sure that this configure file should be attempting
to link an executable at all, but this is a separate problem for
which I will be submitting a separate patch.
Anyway the cause of the problem appears to be that the t-elf file is
overriding the definition of the EXTRA_MULTILIB_PARTS variable which
is initially defined in t-sh. My patch is one way to solve the
problem, but I am not sure if it is necessarily the best way.
What do you think - can I apply this patch ?
2006-04-20 Nick Clifton <email@example.com>
* config/sh/t-elf (EXTRA_MULTILIB_PARTS): Include
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 459 bytes
Desc: not available
More information about the Gcc-patches