home *** CD-ROM | disk | FTP | other *** search
/ SGI Hot Mix 17 / Hot Mix 17.iso / HM17_SGI / research / external / sharelib / README.TXT < prev    next >
Encoding:
Text File  |  1997-07-08  |  1.4 KB  |  41 lines

  1. ------------------------------------------------------------
  2. README file: <RSI_Directory>
  3.             <IDL_Directory>    
  4.           external
  5.             sharelib
  6. IDL Version 5.0
  7. ------------------------------------------------------------
  8.  
  9. This directory contains examples which demonstrate the usage
  10. of the CALL_EXTERNAL function under Unix. 
  11.  
  12. To run the examples routines, first the shared object libraries must
  13. be built. To build the shared object libraries, issue the following 
  14. command:
  15.     % make
  16.   
  17.     Note: To make all the example shared object libraries, a 
  18.       C and a Fortran compiler are required.
  19.  
  20.     To run the call_external() examples, start IDL and call
  21.     one of the following IDL procedures at the IDL command prompt:
  22.     IDL> c_only
  23.     IDL> simple_c2f
  24.     IDL> ftn_only
  25.  
  26.     To clean up the directory:
  27.     % make clean
  28.  
  29. The makefile uses the correct options for the standard compiler
  30. for each supported system. If you use a different compiler,
  31. you may need to change the compilation or link flags. Also, each
  32. of the IDL procedures contains logic to set the name of the
  33. entry point in the shared library. The name of the entry point
  34. in the CALL_EXTERNAL call may be incorrect if you use a different
  35. compiler.
  36.  
  37. Each System makefile assumes that the location of IDL is
  38. /usr/local/rsi/idl_5. If this is not the location of your IDL
  39. installation, edit the makefile for your system. The macro IDL= 
  40. will need to be changed to the location of you IDL distribution. 
  41.