Preprocessing oddity breaks binutils
Ian Lance Taylor
ian@airs.com
Thu Jul 1 00:00:00 GMT 1999
From: Mark Mitchell <mark@codesourcery.com>
Date: Tue, 01 Jun 1999 19:01:42 -0700
In the binutils case, what's happening is that a generated lexer (from
lex) is being placed in the objdir, along with a a generated include
file full of tokens. However, there's *already* a file of tokens in
srcdir. When compiling the lexer, we get the old file of tokens,
because the lexer contains #line directives referring back to the old
lexer.
Perhaps, in the interests of portability, some kind of modification to
binutils or automake is a good idea as well. (This is happenning with
ldlex.l, ldgram.h, and friends in the `ld' subdirectory of binutils.)
There is something odd going on with your build, because the CVS tree
does not include any generated files. It does include ldlex.l (not a
generated file) but it does not include ldgram.h (a generated file).
Ian
More information about the Binutils
mailing list