Sujet : Re: Computer architects leaving Intel...
De : tkoenig (at) *nospam* netcologne.de (Thomas Koenig)
Groupes : comp.archDate : 13. Sep 2024, 06:40:08
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vc0j7o$nbdt$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
User-Agent : slrn/1.0.3 (Linux)
Michael S <
already5chosen@yahoo.com> schrieb:
In order to make comparison I have to port a test bench first, because
while most of this languages are able, with various level of
difficulties, to call C routines, none of them can be called from 'C',
at least at my level of knowledge.
If you declare a Fortran procedure BIND(C), you can call it from C.
gfortran will give you the C prototype with -fc-prototypes.
Or, if you don't declare it BIND(C) and it uses old-style code,
you can use -fc-prototypes-external.