[ADOL-C-tickets] [A Package for Automatic Differentiation of Algorithms Written in C/C++] #3: Configuration/Build: advertised override of compile flags using --with-cflags / --with-cxxflags does not work

A Package for Automatic Differentiation of Algorithms Written in C/C++ coin-trac at coin-or.org
Wed Feb 10 17:32:02 EST 2010


#3: Configuration/Build:  advertised override of compile flags using --with-
cflags / --with-cxxflags does not work
-------------------+--------------------------------------------------------
Reporter:  utke    |       Owner:  somebody  
    Type:  defect  |      Status:  new       
Priority:  minor   |   Component:  component1
 Version:          |    Keywords:            
-------------------+--------------------------------------------------------
 when configure e.g. with -O0   then the compile command still contains
 (later in the command)-O2  which
 configure -h   shows as the default:

   --with-cflags=FLAGS     use CFLAGS=FLAGS (default: -O2)
   --with-cxxflags=FLAGS   use CXXFLAGS=FLAGS (default: -O2)

 e.g. compile string:
  gcc -DHAVE_CONFIG_H -I. -I. -I. -I../.. -I../.. -g -O0 -pedantic -ansi
 -Wall -DADOLC_INTERNAL=1 -g -O2 -MT hos_forward.lo -MD -MP -MF
 .deps/hos_forward.Tpo -c hos_forward.c  -fPIC -DPIC -o .libs/hos_forward.o

-- 
Ticket URL: <https://projects.coin-or.org/ADOL-C/ticket/3>
A Package for Automatic Differentiation of Algorithms Written in C/C++ <https://projects.coin-or.org/ADOL-C>
A Package for Automatic Differentiation of Algorithms Written in C/C++



More information about the ADOL-C-tickets mailing list