This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: sh-elf - only call __setup_argv_and_call_main if host OS exists
- To: Toshi Morita <tm2 at best dot com>
- Subject: Re: PATCH: sh-elf - only call __setup_argv_and_call_main if host OS exists
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 26 May 2001 00:14:58 -0300
- Cc: gcc-bugs at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <200105260023.RAA07933@shell14.ba.best.com>
On May 25, 2001, Toshi Morita <tm2@best.com> wrote:
>> 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.
> How about as a configure test, or configure option?
The point is how the configure test would test something about newlib,
since (i) you may be building newlib separately and (ii) even in a
unified-tree build, newlib is only configured after the compiler and
the support object files are already built.
--
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