This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Repair build after tradcif.c breakage
On Tue, Jul 18, 2000 at 04:49:50PM -0700, Zack Weinberg wrote:
> On Wed, Jul 19, 2000 at 01:25:37AM +0200, Marc Espie wrote:
> > 20000717 snapshot fails to build on OpenBSD.
> >
> > Symptom: Posix make will not find tradcif.c with a separate build
> > directory.
>
> Patch applied, thank you.
>
> I do not understand why tradcif.c cannot be found, just because it is
> generated at build time. Your make presumably can find tradcpp.c and
> all the other source files which are not generated at build time.
I was spotty in my analysis of the problem.
tradcif.c and $(srcdir)/tradcif.c don't have the same name.
Hence they don't quite match.
It doesn't matter that, in the end, they refer to the same file.
What matters is that make can't find a rule to generate tradcif.c,
and the rule for $(srcdir)/tradcif.c does not match.
--
Marc Espie
|anime, sf, juggling, unicycle, acrobatics, comics...
|AmigaOS, OpenBSD, C++, perl, Icon, PostScript...
| `real programmers don't die, they just get out of beta'