[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: About g++ option -MM
From: |
Paul Pluzhnikov |
Subject: |
Re: About g++ option -MM |
Date: |
Wed, 25 Jan 2006 20:57:15 -0800 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux) |
"PengYu.UT@gmail.com" <PengYu.UT@gmail.com> writes:
> Is there anyway that "main-o.o: main.cc" can be generated with g++?
Sure:
$ g++ -MM main.cc
main.o: main.cc
$ g++ -MM main.cc -MT main-o.o
main-o.o: main.cc
The above was obtained using g++-3.3.3 ...
AFAICT, the -MT flag was added in 3.0
Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.