[MacPorts] #36548: libmatheval doesn't work with gfortran

MacPorts noreply at macports.org
Wed Oct 10 02:41:08 PDT 2012


#36548: libmatheval doesn't work with gfortran
--------------------------------+-------------------
  Reporter:  angelo.graziosi@…  |      Owner:  mww@…
      Type:  defect             |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.1.2
Resolution:                     |   Keywords:
      Port:  libmatheval        |
--------------------------------+-------------------

Comment (by angelo.graziosi@…):

 I have just discovered that adding "-fsecond-underscore" works also with
 gfortran :-), i.e. all the following works


 {{{
 $ gfortran -fsecond-underscore evaluator.f90 $(pkg-config --cflags --libs
 libmatheval) -o evaluator.out

 $ gfortran -fsecond-underscore evaluator.f90 -L /opt/local/lib -lmatheval
 -o evaluator.out

 $ gfortran -fsecond-underscore evaluator.f -ffree-form -L /opt/local/lib
 -lmatheval -o evaluator.out
 }}}

 Ciao, Angelo.

-- 
Ticket URL: <https://trac.macports.org/ticket/36548#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list