The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14871 
====================================================================== 
Reported By:                vitaut
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14871
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-04-09 17:02 EDT
Last Modified:              2014-04-09 17:02 EDT
====================================================================== 
Summary:                    Error running link command when using gfortran on
Windows
Description: 
Running CMake on a small test project that combines C++ and Fortran
(https://github.com/vitaut/test) results in the following error:

  Linking Fortran executable cmTryCompileExec108399929.exe


  "C:\Program Files\CMake 2.8\bin\cmake.exe" -E cmake_link_script
  CMakeFiles\cmTryCompileExec108399929.dir\link.txt --verbose=1


  "C:\Program Files\CMake 2.8\bin\cmake.exe" -E remove -f
  CMakeFiles\cmTryCompileExec108399929.dir/objects.a


  "" cr CMakeFiles\cmTryCompileExec108399929.dir/objects.a
  @CMakeFiles\cmTryCompileExec108399929.dir\objects1.rsp

I'm using MinGW's toolchain including gfortran version 4.8.1 on 32-bit Windows
7.

Steps to Reproduce: 
0. Install MinGW including mingw32-gcc-fortran package from
http://www.mingw.org/wiki/Install_MinGW

1. Clone the test repository:
   git clone https://github.com/vitaut/test.git

2. Run CMake:
   cd test
   cmake -G "MinGW Makefiles" .

3. Observe the error.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-04-09 17:02 vitaut         New Issue                                    
2014-04-09 17:02 vitaut         File Added: cmake-error-log.txt                 
  
======================================================================

-- 

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/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to