[patch] to gcc: always provide unistd.h and stdlib.h when missing

Alexandre Oliva aoliva@redhat.com
Sun Dec 24 10:24:00 GMT 2000


On Dec 24, 2000, msokolov@ivan.Harhan.ORG (Michael Sokolov) wrote:

> Here is another patch for the current gcc. There is a bug there in
> the fixproto script where it synthesises unistd.h and stdlib.h for
> systems that don't have them. It runs them through fix-header, which
> is correct, but if they didn't need any fixing and fix-header did
> nothing, they don't get installed.

And why is this wrong?  GCC would then (presumably) look for them in
/usr/include, and will find them there, right?

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


More information about the Gcc-patches mailing list