On 12/01/2014 01:37 PM, Bill Somerville wrote:
> I'm trying to debug this issue but the 3.1.0-rc2 use of linker response 
> files is a PITA because they are created as temporary files and gone 
> before I can look into them.
> 
> Is there for flag I can set to stop them being used so I can see the 
> whole link line?

There are two sources of response files involved.  One is generated
by CMake (linklibs.rsp), and the other is generated by gfortran.
The former is persistent, the latter is temporary and CMake can do
nothing about it.

However, in this particular case the ABI detection build is done
in a temporary directory and wiped out when finished, just like
most other try_compile calls.  Therefore even the files holding
flags not in response files are gone too.  In order to keep them
around one may use --debug-trycompile, but it is a bit tricky to
do because some of the files will still be overwritten by checks
after the one in question.

Anyway, see my sibling response for an explanation of the underlying
problem and the fix.

Thanks,
-Brad

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to