|
| From: | Mike Miller |
| Subject: | [Octave-bug-tracker] [bug #49548] mkoctfile fails to link Fortran sources without -lgfortran on Windows |
| Date: | Thu, 6 Feb 2020 15:58:36 -0500 (EST) |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36 |
Update of bug #49548 (project octave):
Status: Confirmed => Patch Submitted
_______________________________________________________
Follow-up Comment #15:
Sure, I think you're right.
I'm wary of overwriting the FLIBS variable to be empty.
Maybe something like
std::string cmd = ...
...
#if defined (OCTAVE_USE_WINDOWS_API) || defined(CROSS)
if (! f77files.empty ())
cmd += ' ' + vars["FLIBS"];
#endif
Patch attached for comment and testing.
Does anyone build stand-alone programs on Windows, and do we also need to add
FLIBS to the link line for that case?
(file #48365)
_______________________________________________________
Additional Item Attachment:
File name: flibs.diff Size:0 KB
<https://savannah.gnu.org/file/flibs.diff?file_id=48365>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?49548>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |