home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / os2 / programm / 4332 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  1.7 KB

  1. Xref: sparky comp.os.os2.programmer:4332 comp.windows.x.motif:5706
  2. Newsgroups: comp.os.os2.programmer,comp.windows.x.motif
  3. Path: sparky!uunet!stanford.edu!ames!news.hawaii.edu!galileo!tholen
  4. From: tholen@galileo.ifa.hawaii.edu (Dave Tholen)
  5. Subject: Re: X/Motif to PM Questions
  6. Message-ID: <1992Aug20.004151.2199@news.Hawaii.Edu>
  7. Sender: root@news.Hawaii.Edu (News Service)
  8. Nntp-Posting-Host: galileo.ifa.hawaii.edu
  9. Organization: University of Hawaii
  10. Date: Thu, 20 Aug 1992 00:41:51 GMT
  11. Lines: 30
  12.  
  13. Mark Spiegel writes:
  14.  
  15. >    I potentially have to port a code that currently runs on a MIPS
  16. >    RISC CPU UNIX workstation, using an X/Motif GUI, to an IBM PS/2
  17. >    running OS/2 and Presentation Manager.  The code has both C and
  18. >    Fortran in it.  I have the following questions:
  19. >
  20. >        Does the OS/2 Fortran compiler support double
  21. >        precision (64 bit) floating point?
  22. >
  23. >        Is the C compiler on OS/2 ANSI C ?
  24.  
  25. *THE* Fortran compiler, *THE* C compiler???  OS/2 does not ship with any
  26. compilers.  You have to purchase them from third party vendors.  Thus the
  27. answer depends on which product you buy.  However, the two available
  28. Fortran compilers both implement the ANSI standard, so they must have
  29. support for double precision.
  30.  
  31. >        Does the OS/2 loader have any quirks when it
  32. >        comes to loading objects produced from both C 
  33. >        and Fortran?
  34.  
  35. Don't know, but the compiler vendors often ship their own linker.  I know
  36. that WATCOM's linker supports mixed language programming (Fortran and C).
  37.  
  38. >        What is the graphics library available on the
  39. >        OS/2 and how does it compare with Xlib?
  40.  
  41. Haven't used Xlib so I can't compare, but the OS/2 graphics "library" is
  42. the set of GPI calls, of which there are a lot.
  43.