From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manfred Hollstein To: ghazi@caip.rutgers.edu Cc: egcs@cygnus.com Subject: Re: egcs, does gcc fixincludes etc guarantee a stdlib.h exists? Date: Sun, 29 Mar 1998 05:14:00 -0000 Message-id: <13597.5567.26876.276804@saturn.s-direktnet.de> References: <199803272118.QAA25896@caip.rutgers.edu> X-SW-Source: 1998-03/msg00989.html On Fri, 27 March 1998, 16:18:24, ghazi@caip.rutgers.edu wrote: Simple question. Does gcc guarantee that after it diddles with the system headers that a stdlib.h exists in some form? Yes, it does. I have this situation on m68k-motorola-sysv. I've added a small patch recently, which guarantees the generated stdlib.h contains a definition for `size_t'. Otherwise, lots of g++ tests will fail. For target files which include tconfig.h, since we can't check autoconf macros, I'd like to hardwire including stdlib.h to possibly get prototypes for malloc, et al. I'll have to look on Monday, which prototypes are actually generated. This set of files would include frame.c and libgcc2.c. Thanks, --Kaveh manfred