gcc for Hitachi SH multilib problems
Jeffrey A Law
law@cygnus.com
Wed Apr 19 09:23:00 GMT 2000
In message < 200004190202.TAA24897@netcom.com >you write:
> >
> > I finally tracked down the long-standing problem with the Hitachi SH buil
> ds
> >
>
> Looks like my earlier analysis was wrong.
Correct.
> The problem seems to be libiberty's configure attempts to verify the
> compiler can produce executables. Since newlib is not included in gcc,
> there is no crt0.o yet, and therefore the compiler cannot produce an
> executable, and libiberty fails.
>
> This seems wrong. Am I missing something?
No, this is precisely how it's supposed to work.
If the target libraries are not available, then the compiler can not create
executables. It's that simple.
When building cross tools you have to make header files available as well as
target libraries. THe easiest way to do that is a single tree build with
newlib included.
jeff
More information about the Gcc-bugs
mailing list