GCC for SPARC Systems misbehaves with -MD
According to the man page
"-MD is equivalent to -M -MF file, except that -E is not implied. The driver determines file based on whether an -o option is given. If it is, the driver uses its argument but with a suffix of .d ..."
However,
g++ -MD -c foo.cpp -o foo.o
produces foo.d.d instead of foo.d.
Alan Feldstein
Cosmic Horizon
http://www.alanfeldstein.com/

