This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bootstrap fails with FreeBSD make
- To: gcc at linux dot globe-tec dot de
- Subject: Re: bootstrap fails with FreeBSD make
- From: Marc Espie <espie at quatramaran dot ens dot fr>
- Date: Sun, 28 Jan 2001 03:08:33 +0100
- Cc: gcc at gcc dot gnu dot org
- Organization: Ecole Normale Superieure (quatramaran)
In article <20010127111759.A13827@verona.globe-tec.de> you write:
>Hi,
>
>I just tried to bootstrap under FreeBSD 4.2. The build stoped after
>creating libz with the following message:
>Bootstrapping the compiler
>+make CC="gcc" libdir=/usr/local/gcc-CVS/lib LANGUAGES="c"
>+make: not found
I got '+' to work on OpenBSD make in single job mode, and it's at least
recognized in -j mode (the code in job.c is bad enough that I got a
headache trying to see how to implement that).
FreeBSD and NetBSD might be interested in looking at job.c rev 1.34 and
compat.c rev 1.32 (in OpenBSD). If someone manages to handle the -j part,
drop me a note, I'm game.
I believe that '+' is generally a good idea. Seeing that quite a few make
don't support it (it is not even POSIX), an autoconf/automake mechanism
to handle it might be a good idea...
In fact, telling autoconf to substitute <tab> for <tab>+ in a Makefile if
the chosen make does not handle + is probably the way to go.
A test makefile such as:
a:
+:
is probably largely enough to check the feature...