X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org From: Barry Kelly To: rodmedina AT cantv DOT net Cc: cygwin AT cygwin DOT com Subject: Re: option of g++ Date: Tue, 09 Sep 2008 09:12:35 +0100 Message-ID: References: <380-220089298424106 AT cantv DOT net> In-Reply-To: <380-220089298424106@cantv.net> X-Mailer: Forte Agent 4.2/32.1117 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m898DZq3028245 Rodrigo Medina wrote: > Hi, > Can anybody tell me what the g++ option > -DU_STATIC_IMPLEMENTATION DOES? -D instructs the preprocessor (cpp, which is automatically invoked by g++) to define a symbol; the appended text is the symbol that gets defined. The meaning of the symbol depends on the source code you are compiling. Typically, preprocessor symbols are used to enable or disable features or modes of a program or library at compilation time (i.e. the option isn't configurable at run time). You need to either look in the documentation for the source package you are compiling, or failing that grep the source for U_STATIC_IMPLEMENTATION and try to discover from the source what it is doing. E.g.: grep -r U_STATIC_IMPLEMENTATION . in the source base directory. -- Barry -- http://barrkel.blogspot.com/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/