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 May 23, 2001, Albert Chin-A-Young <china@thewrittenword.com> wrote:

> Well, after xgcc is built (stage1), objdir/gcc/Makefile has:
>   f/ansify$(build_exeext): f/ansify.c hconfig.h system.h
>           $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) $(INCLUDES) \
>                 $(srcdir)/f/ansify.c -o f/ansify$(build_exeext)

This still doesn't explain why f/ansify is built in stage1 in the
first place.  Or isn't it built?

> So, if you depend on $(HOST_CC) to build f/ansify.c (which uses
> f/malloc.h), it should expect a K&R C compiler.

Agreed.  Care to post a patch to fix it?

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


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