Farid Zaripov wrote:
-----Original Message-----
From: Martin Sebor [mailto:[EMAIL PROTECTED] On Behalf Of Martin Sebor
Sent: Saturday, June 28, 2008 2:17 AM
To: [email protected]
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.

Reply via email to