[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using GCC -MM flag

From: Charles Brown
Subject: Using GCC -MM flag
Date: Tue, 03 May 2011 16:00:02 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8


I want to use the GCC -MM flag to reduce the size of dependency files, and hopefully speed the build. How best to get this to the g++ command line?

  I tried to pass to configure using;

configure --prefix=$HOME/install/Debug CXXFLAGS="-MM -Wall -Werror -ggdb -O0"

but this yielded;

    configure: error: C++ compiler cannot create executables

This message is intended only for the addressee and may contain information that is company confidential or privileged. Any technical data in this message may be exported only in accordance with the U.S. International Traffic in Arms Regulations (22 CFR Parts 120-130) or the Export Administration Regulations (15 CFR Parts 730-774). Unauthorized use is strictly prohibited and may be unlawful. If you are not the intended recipient, or the person responsible for delivering to the intended recipient, you should not read, copy, disclose or otherwise use this message. If you have received this email in error, please delete it, and advise the sender immediately. -

reply via email to

[Prev in Thread] Current Thread [Next in Thread]