🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1138

Re: X/Motif to PM Questions

#1138
From: Dave Tholen
Date: Thu, 20 Aug 1992 00:41
30 lines
1667 bytes
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.
Technical Details
Message-ID: <1992Aug20.004151.2199@news.Hawaii.Edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!news.hawaii.edu!galileo!tholen

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer,comp.windows.x.motif
Path: arc1-ca.pugleaf.net!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