-----Original Message----- From: Peter Gerwinski [mailto:peter@gerwinski.de] Sent: 25 January 1999 17:52 To: kevin.broadey@ats.uk.eds.com Cc: gpc@hut.fi Subject: Re: how to bootstrap egcs-1.1.1
kevin.broadey@ats.uk.eds.com wrote:
The "gmake LANGUAGES=c" bombed out trying to make (I guess) one of the C++ libraries that comes bundled with egcs, so that's not surprising, and it did manage to build the C compiler first.
The "gmake LANGUAGES=pascal" bombed out in the same place, but again it built the compiler first.
For me this looks like a problem with C++, not with Pascal. If you are not going to install the C++ compiler, better use the egcs-1.1.1.core distribution instead of the full egcs-1.1.1, or remove the `cp' directory before installing.
I think the problem is that I ran "make" in the top-level objdir, so egcs went off and tried to build its associated libraries without having the compiler in place to do the job. Maybe I should have used "make all-gcc" instead. Dunno.
But I really do want to install the C++ compiler, so "make bootstrap" looks like the thing I should be doing.
But the problem is that I now have a compiler built with gcc-2.8.1 rather than egcs-1.1.1. So is there some way I can do the equivalent of "make bootstrap" without tripping over the circular dependency Peter referred to?
What about `make CC="gcc/xgcc -Bgcc/ -Lgcc/" LANGUAGES=pascal'?
I don't think that will help with the "make bootstrap" problem.
What I'm trying now is to hack gcc/Makefile to remove "pascal" from LANGUAGES, then added a rule at the end of the "bootstrap" target to do a "make LANGUAGES=pascal" directly. Dirty, but It Should Work (tm).
I'll let you know how I get on.
(BTW, better truncate your lines to make your emails more readable.;-)
Sorry, beaten by M$ Outlook, I'm afraid :-(
Cheers Kevin