[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #49548] mkoctfile fails to link Fortran source

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"];

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


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]