Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: status update - gcc 4.5 - some what working



On Tue, Jul 05, 2011 at 09:11:54 +0200, Alan Barrett wrote:

> On Tue, 05 Jul 2011, Adam Ciarci?ski wrote:
> >Building the system on Mac OS X gives me:
> >
> >In file included from /dist/src/external/gpl3/gcc/dist/gcc/vec.c:29:
> >/dist/src/external/gpl3/gcc/dist/gcc/system.h:402:20: error: malloc.h: No 
> >such file or directory
> 
> Could we replace NetBSD's /usr/include/malloc.h with #error "Nobody
> should ever include malloc.h", or just delete it?

malloc.h should be present in destdir (from "make includes") at this
point.  But the comment in vec.c says

/* This file is compiled twice: once for the generator programs
   once for the compiler.  */

So the question is what makes it think it can include malloc.h (I
think you should look at auto-build.h)

-uwe


Home | Main Index | Thread Index | Old Index