This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH: sh-elf - only call __setup_argv_and_call_main if host OS exists


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]