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: gcc/f/malloc.h and HP-UX 10.20


On Tue, May 22, 2001 at 10:17:07PM +0200, Toon Moene wrote:
> Albert Chin-A-Young wrote:
> 
> > On Tue, May 22, 2001 at 07:47:40AM -0300, Alexandre Oliva wrote:
> 
> > > On May 22, 2001, Albert Chin-A-Young <china@thewrittenword.com> wrote:
> 
> > > > Does K&R allow forward declarations (from gcc/f/malloc.h):
> 
> > > It doesn't matter.  Only the C front-end is supposed to compile with
> > > K&R C.  That's why you must use `make bootstrap' when using some
> > > compiler other than GCC.
> 
> > I am using 'make bootstrap'.
> 
> Are you using HPUX's make ?  It is "considered harmful", i.e. tries to
> force recompilation of stuff that's already perfectly fine.

I am using GNU make. Setting CC to "cc -Ae" (enable ANSI mode) works.
Setting CC=cc does not (K&R mode).

-- 
albert chin (china@thewrittenword.com)


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