[Bug preprocessor/20989] The -M option gives object file names without directory
bje at safepro dot dk
gcc-bugzilla@gcc.gnu.org
Wed Apr 13 14:39:00 GMT 2005
------- Additional Comments From bje at safepro dot dk 2005-04-13 14:38 -------
Actually the manual explicit says that any path in the input file name is kept
by default in the description of the "-MT TARGET" option. So either the
preprocessor or the manual does have a bug when the preprocessor discards the path:
`-MT TARGET'
Change the target of the rule emitted by dependency generation. By
default CPP takes the name of the main input file, including any
path, deletes any file suffix such as `.c', and appends the
platform's usual object suffix. The result is the target.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20989
More information about the Gcc-bugs
mailing list