octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #49548] mkoctfile can not build FORTRAN


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #49548] mkoctfile can not build FORTRAN
Date: Mon, 7 Nov 2016 19:26:13 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0

Update of bug #49548 (project octave):

                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #2:

This may be a difference in the way shared objects are linked differently
between operating systems. On my Debian system I am able to build an oct file
from a myfunc.cc and a mysub.f without explicitly needing to link in
libgfortran. As I understand it it works for me because shared objects do not
need to resolve all of the symbols that they use, they only need to be
resolved at the point when the shared object is loaded by the executable. This
may be different on Windows.

Just so it's clear what the problem is, are you able to build this oct file on
your system with the following command


>> mkoctfile -v fortrandemo.cc fortransub.f -lgfortran


Adding the -lgfortran is not necessary on GNU/Linux systems, but it does no
harm either. Does it solve the problem for you?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49548>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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