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