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

Re[2]: A Fortran 77 compiler for Red Hat Linux platforms



"Ortal Alpert" <ortal@fh.huji.ac.il> wrote:
>  f2c appear to run as a fortran compiler but can't mix code when main is not
>  in
>  fortran (try C)

All you need is

void MAIN__(){}

(or link against libf2c.a instead of .so)

Evgeny


--
   ____________________________________________________________
  / Evgeny Stambulchik  <fnevgeny@plasma-gate.weizmann.ac.il>  \
 /  Plasma Laboratory, Weizmann Institute of Science, Israel \  \
 |  Phone : (972)8-934-3610  == | == FAX   : (972)8-934-3491 |  |
 |  URL   :    http://plasma-gate.weizmann.ac.il/~fnevgeny/  |  |
 |  Finger for PGP key >=====================================+  | 
 |______________________________________________________________| 


Follow-Ups: References: