[cmake-developers] [CMake 0014871]: Error running link command when using gfortran on Windows
Mantis Bug Tracker
mantis at public.kitware.com
Wed Apr 9 17:02:31 EDT 2014
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
======================================================================
More information about the cmake-developers
mailing list