[BuildTools-tickets] [BuildTools] #68: User-given FFLAGS ignored for dlamch compilation

BuildTools coin-trac at coin-or.org
Mon Sep 8 09:08:23 EDT 2008


#68: User-given FFLAGS ignored for dlamch compilation
---------------------+------------------------------------------------------
Reporter:  andreasw  |       Owner:  andreasw           
    Type:  defect    |      Status:  new                
Priority:  major     |   Component:  configuration tests
 Version:  0.5       |    Keywords:                     
---------------------+------------------------------------------------------
 Hi Stefan :-)

 The compilation of dlamch still has some problems.  For example, if
 someone sets FFLAGS, this is completely ignored when compiling it.  (In an
 IBM context, someone had -fPIC included in FFLAGS and uses --disable-
 shared, so this doesn't work when you later try to make a shared library)

 Instead of setting it to the coin_warn_flags etc, would it make more sense
 to scan the content of FFLAGS and remove anything of the form '-O*' and
 replace it by '-O0'?  Not sure if that works for all compilers though
 (Windoofs?).  At the very least, we should make DLAMCH_FFLAGS an argument
 that one can set.

 What do you think?

 Andreas

-- 
Ticket URL: <https://projects.coin-or.org/BuildTools/ticket/68>
BuildTools <http://projects.coin-or.org/BuildTools>
Tools for configuring and compiling COIN-OR codes



More information about the BuildTools-tickets mailing list