[Bug preprocessor/25356] New: -MT appends target name, rather than replacing it
igodard at pacbell dot net
gcc-bugzilla@gcc.gnu.org
Sun Dec 11 18:41:00 GMT 2005
The -MT <name> option with -MMD is supposed to substitute <name> for the target
in the generated makefile. In most cases it seems to do so. However (using the
attached file, which is a rename .ii file), the command:
g++ -c -o accum.o -MMD accum.cc
produces the makefile:
accum.o: accum.cc
as expected, but the command:
g++ -c -o accum.o -MMD -MTfoo accum.cc
produces:
foo accum.o: accum.cc
instead of the correct:
foo: accum.cc
--
Summary: -MT appends target name, rather than replacing it
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: preprocessor
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: igodard at pacbell dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25356
More information about the Gcc-bugs
mailing list