Return-Path: Delivered-To: apmail-stdcxx-dev-archive@www.apache.org Received: (qmail 92938 invoked from network); 2 Jul 2008 15:31:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jul 2008 15:31:19 -0000 Received: (qmail 71231 invoked by uid 500); 2 Jul 2008 15:31:20 -0000 Delivered-To: apmail-stdcxx-dev-archive@stdcxx.apache.org Received: (qmail 71170 invoked by uid 500); 2 Jul 2008 15:31:20 -0000 Mailing-List: contact dev-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list dev@stdcxx.apache.org Received: (qmail 71159 invoked by uid 99); 2 Jul 2008 15:31:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jul 2008 08:31:20 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of msebor@gmail.com designates 64.233.166.179 as permitted sender) Received: from [64.233.166.179] (HELO py-out-1112.google.com) (64.233.166.179) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jul 2008 15:30:28 +0000 Received: by py-out-1112.google.com with SMTP id u52so216040pyb.11 for ; Wed, 02 Jul 2008 08:30:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :organization:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding:sender; bh=ELagB53IrLfP47zI9M5X8R6nNNT2TeJX33JNrFyWmWU=; b=ScvALUi5xsVA6TlFkYReSqTSN3quWaSyzpTq3qM/H2kBgzgFmmDQqaOofriREKMxTl 1E3gfz+JEf/quh/qF9Wny7jr2T1zUpbX3XoreykUqUkWmmH499NZWedHvI3t5S/TW3DP fNQExbYQSfoHQFZ4jOWOXkewECF/MzqeC0epE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding:sender; b=TsOMp9KQYeXqjLrkKSYr3CMWD+BVCvqPgIX/oHH+WXthjcv83zhOGXRqt9e9zu1H85 1BV6H8ga0tc07sLH1sOdvg137zRjtJw9ucX9JS/+NjMZXJR/X31hQPczyXeKOPKAoL0H nU2Q9JasPWYPBPtm7tLscb++Ncj5PDhRv0Cmw= Received: by 10.114.154.12 with SMTP id b12mr7106022wae.153.1215012626460; Wed, 02 Jul 2008 08:30:26 -0700 (PDT) Received: from localhost.localdomain ( [71.229.200.170]) by mx.google.com with ESMTPS id a8sm9376218poa.12.2008.07.02.08.30.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 02 Jul 2008 08:30:26 -0700 (PDT) Message-ID: <486B9F11.40808@roguewave.com> Date: Wed, 02 Jul 2008 09:30:25 -0600 From: Martin Sebor Organization: Rogue Wave Software, Inc. User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: dev@stdcxx.apache.org Subject: Re: User-defined compiler flags References: <486574FB.8010502@roguewave.com> <7BDB2168BEAEF14C98F1901FD2DE64380297C130@epmsa009.minsk.epam.com> In-Reply-To: <7BDB2168BEAEF14C98F1901FD2DE64380297C130@epmsa009.minsk.epam.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: Martin Sebor X-Virus-Checked: Checked by ClamAV on apache.org Farid Zaripov wrote: >> -----Original Message----- >> From: Martin Sebor [mailto:msebor@gmail.com] On Behalf Of Martin Sebor >> Sent: Saturday, June 28, 2008 2:17 AM >> To: dev@stdcxx.apache.org >> Subject: Re: User-defined compiler flags >> >> Eric Lemings wrote: >>> >>> What is the proper build procedure for specifying additional >>> user-defined compiler flags? >> Quoting from section 5, Library Build Instructions, of our README >> (http://svn.apache.org/repos/asf/stdcxx/trunk/README): >> >> To change preprocessor, compiler, or linker >> options you can >> either set the make variables CPPOPTS, CXXOPTS, and >> LDOPTS on the >> command line (recommended, except with HP aCC) >> or modify >> ${BUILDDIR}/makefile.in. The second option is >> recommended when >> compiling with HP aCC (as the compiler looks for >> environment >> variables with the same names). > > The libc_decl.sh script doesn't using CPPOPTS, CXXOPTS and LDOPTS. > > ---------------- > make builddir BUILDDIR=mingw15s BUILDTYPE=15s CONFIG=gcc.config > CPPOPTS=-mno-cygwin LDOPTS=-mno-cygwin > cd mingw15s/include && make CPPOPTS=-mno-cygwin LDOPTS=-mno-cygwin > ---------------- > > But looking into config.log file I see that -mno-cygwin option is not > used at configure step. Unless there is some other mechanism that controls this on Windows it seem that it should work. If you agree, I suggest we open an issue/enhancement as a reminder to implement it. Martin > > Farid.