This is the mail archive of the gcc@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: egcs, does gcc fixincludes etc guarantee a stdlib.h exists?


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


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