This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[COMMITTED] Fix bootstrap on powerpc-darwin
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: gcc-patches Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 18 Jan 2006 23:25:15 -0500
- Subject: [COMMITTED] Fix bootstrap on powerpc-darwin
At first I thought this was just a missing dependancies as I was
building at -j3
but then I looked at regression tester and I noticed that it failed the
same way.
Anyways the problem is that diagnostic.h uses N_OPTS from options.h but
does not
include it. Now config/rs6000/host-darwin.c comes along and includes
diagnostic.h
but not options.h so we get an error saying N_OPTS is not defined. So
instead of
just fixing config/rs6000/host-darwin.c, I decided to fix diagnostic.h
to include
options.h and update the dependancies. Oh, I did notice that
host-ppc-darwin.o
did not include the correct dependancies for diagnostic.h anyways so I
fixed that
to use the macro.
Committed as obvious after a quick build.
Thanks,
Andrew Pinski
ChangeLog:
* diagnostic.h: Include options.h.
* config/rs6000/x-darwin (host-ppc-darwin.o): Correct the
dependancies for diagnostic.h.
* Makefile.in (DIAGNOSTIC_H): Add options.h
Attachment:
fixdarwin.diff.txt
Description: Text document