This is the mail archive of the gcc-bugs@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: cannot compile


On Jan 30, 2001, Bill Priest <bpriest@comspacecorp.com> wrote:

> The installation instructions tell you to use a separate build
> directory, and to run `make bootstrap'.

> 		Since we see this type of problem quite frequently
> (on gcc-bugs ml); would patches be accepted that change 
> the initial target of the top level makefile to issue a 
> warning message that the correct command is "make bootstrap" 
> in a directory other than the top level?

Probably not.  The top-level Makefile is shared with other projects,
for which `make bootstrap' is not relevant.

Besides, there are many cases in which `make bootstrap' is not the
right thing for GCC either.  For example, you don't want to bootstrap
if you're building a cross compiler.

Here's an idea: at the end of configure, if GCC is going to be built
*and* it's not a cross-compiler, print a warning message suggesting
the user to use `make bootstrap' or `bootstrap-lean' instead of `make'
or `make all'.

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