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 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


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