sh-elf build failure: missing __setup_argv_and_call_main

Toshi Morita tm2@best.com
Fri May 25 15:28: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
> 

It's newlib-1.8.2, from the 2.96-sh4-001122 release.

Toshi



More information about the Gcc-bugs mailing list