Joern RENNECKE wrote:
When you compile a file that contains a line directive, e.g.:
using the -fpreprocessed option to cc1, but without -fdumpbase, the base filename of the line number directive us used both for the assembly output file and for debugging dumps
from -da.

This is probably a natural consequence of the fact that cpplib got split into a separate library. So now we need some way to communicate info from cpp to cc1, and this is done via a line directive.

And at the least, the -fpreprocessed documentation is wrong when it states that this option is implicit when the file ends in .i; this effect of -fpreprocesed
only appears when the option is actually passed to cc1.

Try "touch tmp.i; ./xgcc -B./ -v tmp.i" and note that -fpreprocessed is passed by default to cc1. The docs aren't wrong here, you just missed the fact that there is a hidden option in the specs.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com

Reply via email to