PATCH: sh-elf - only call __setup_argv_and_call_main if host OS exists
Toshi Morita
tm2@best.com
Fri May 25 17:23:00 GMT 2001
> On May 24, 2001, Toshi Morita <tm2@best.com> wrote:
>
> > For the target sh-elf, GCC builds crt1.asm with a call to
> > __setup_argv_and_call_main which does not exist in newlib.
>
> Just so that nobody accepts and installs this patch by accident: this
> function is defined in newer versions of newlib. Toshi suggested
> testing for its presence, but I don't see how to do this properly.
>
> --
> 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
>
How about as a configure test, or configure option?
Toshi
More information about the Gcc-bugs
mailing list