This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: sh-elf build failure: missing __setup_argv_and_call_main
- To: aoliva at redhat dot com (Alexandre Oliva)
- Subject: Re: sh-elf build failure: missing __setup_argv_and_call_main
- From: Toshi Morita <tm2 at best dot com>
- Date: Fri, 25 May 2001 15:28:25 -0700 (PDT)
- Cc: gcc-bugs at gcc dot gnu dot org
> 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