[CMake] fortran compiler failed to compile simple test program

Ette, Anthony (CDS) Anthony.R.Ette at controlsdata.com
Tue Jun 16 10:08:19 EDT 2015


> Ahh, you are correct.  Success!  What does this mean?
I found this in the cf77 release notes, not sure if it means anything to us at this point.

Linking with gcc, g++ or g77:
This release ships with its own updated linker (ld) that can interpret DWARF 3. If you link cf77generated code using the gcc, g++, or g77 commands, they should be directed to use this alternativeld. This may be done by setting the COMPILER_PATH environment variable to one of the followingvalues:COMPILER_PATH=/usr/ccs/release/7.2/lib_ia32COMPILER_PATH=/usr/ccs/release/7.2/lib_amd64for 32-bit Pentium code or 64-bit AMD64 code, respectively. It important that the correct path bechosen.To make the COMPILER_PATH effective for the duration of a shell invocation, it can be exported:export COMPILER_PATH=...Or the variable may be set for a single invocation:COMPILER_PATH=... gcc ...If the COMPILER_PATH environment variable is omitted, the default system linker will be used; it willwork on correct programs, but error diagnostics may be inaccurate.The cf77 command will use the alternative ld without requiring the user to set the COMPILER_PATHenvironment variable.
This e-mail (including attachments) contains contents owned by Rolls-Royce plc and its subsidiaries, affiliated companies or customers and covered by the laws of England and Wales, Brazil, US, or Canada (federal, state or provincial). The information contained in this email is intended to be confidential, may be legally privileged and subject to export controls which may restrict the access to and transfer of the information. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, interception or copying of this communication is strictly prohibited and may subject you to further legal action. Reply to the sender if you received this email by accident, and then delete the email and any attachments.


More information about the CMake mailing list