X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
From: Barry Kelly <bkelly.ie@gmail.com>
To: rodmedina@cantv.net
Cc: cygwin@cygwin.com
Subject: Re: option of g++
Date: Tue, 09 Sep 2008 09:12:35 +0100
Message-ID: <gobcc4phokqba81ufj242qegtst8kh9c2v@4ax.com>
References: <380-220089298424106@cantv.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/


