incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: User-defined compiler flags
Date Fri, 27 Jun 2008 23:17:15 GMT
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).

When using HP aCC, you can prefix the names of each of the variables
with an underscore (i.e., _CPPOPTS, _CXXOPTS, and _LDOPTS) to get the
same effect.

Martin


Mime
View raw message