sh-elf build failure: missing __setup_argv_and_call_main
Toshi Morita
tm2@best.com
Fri May 25 14:51:00 GMT 2001
> On May 24, 2001, Toshi Morita <tm2@best.com> wrote:
>
> > gcc --host=i686-linux --target=sh-elf fails to build because the function
> > __setup_argv_and_call_main is missing.
>
> It's defined in newlib, in libc/sys/sh/syscalls.c. Which version of
> newlib are you using?
>
> --
> Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
> CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist *Please* write to mailing lists, not to me
>
Oh doh.
It looks like I'm using an older version of newlib. (oldlib?)
Can we put a version check into this code then?
Or at least some sort of warning?
Toshi
More information about the Gcc-bugs
mailing list