FFI Question 
Author Message
 FFI Question

Hello:

I am using PROCYON Common Lisp to call foreign functions written in fortran
(Language Systems MPW FORTRAN). I am using the following to process the
object code:

        Link                             6
                -rt FRGN=1               6
                -sn Main=xforfunc        6
                -sn f_RunTime=xforfunc  6
                -sn f_Intrinsics=xforfunc 6
                -ma FOREIGNFUNCTION=xforfunc 6
                '::ForeignLib.o' 6
                xforfunc.f.o    6
                "{FLibraries}"FORTRANlib.o  6
                "{FLibraries}"IntrinsicLib.o 6
                "{Libraries}"Interface.o 6
                "{Libraries}"Runtime.o 6
                xforfunc.f.o    6
                -o xforfunc  

(Yes, this is like a Mac CODE resource, except that it has foreign function
type FRGN.)

Any comments/help/reply would be appreciated for the following:

        - Is there any other method to process the object code to produce
          a resource?

        - Is it possible to do I/O in FORTRAN side?

        - Are COMMON variables allowed?

Thanks in advance.



                          uunet!frith!pegah

-Mahmoud Pegah
AI/KBS Group, CPS
Mich State Univ



Sat, 27 Mar 1993 00:29:21 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Fun-O Win32 FFI Question

2. c-ffi question involving c-struct

3. C FFI question

4. FFI question #2: Getting the address of a C function

5. FFI question: Setting array elements

6. FFI questions

7. ACL FFI question

8. FFI question in ACL/W 2.0

9. C-FFI: GC questions, wchar_t, Melange redesign

10. C-FFI: GC questions, wchar_t, Melange redesign

11. FFI survey for smalltalk

12. portable FFI representation

 

 
Powered by phpBB® Forum Software