home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!paladin.american.edu!howland.reston.ans.net!usc!usc!not-for-mail
- From: merlin@neuro.usc.edu (merlin)
- Newsgroups: comp.windows.x.i386unix
- Subject: Working on OS/2 2.1 beta X11R4 libs -> Advice on porting os/2 tcp/ip
- Date: 25 Jan 1993 06:41:51 -0800
- Organization: University of Southern California, Los Angeles, CA
- Lines: 36
- Message-ID: <1k0u7fINN1k8@neuro.usc.edu>
- References: x
- NNTP-Posting-Host: neuro.usc.edu
-
- I would appreciate any generic advice from other people with experience
- porting bsd unix tcp/ip code to os/2 2.0 or os/2 2.1 beta. Please don't
- feel at all inhibited about mentioning even the most basic considerations
- to be made in attempting such a port.
-
- One fast & dirty approach for porting the X11R4 Xlib to os/2 may be as follows:
-
- o apply the 32 bit csd fapi upgrade to the tcp/ip program libraries
- o unarchive an existing public domain Xlib.a file
- o apply emxomf.exe to convert .o files to .obj files
- o build a new Xlib using lib to create .lib or .dll file
- o compile apps under icc and link under link386 w/ new Xlib & new TCP
-
- Of course this may not work completely if there are unusual calling sequence
- requirements under OS/2 2.1 beta TCP/IP which do not exist for more commonly
- available TCP/IP applications -- i.e. if OS/2 requires a call to "tcpstart"
- (which I recall reading somewhere) before any other TCP/IP calls. In such a
- case, we may need to recompile the entire Xlib under icc with added calls --
- but that doesn't seem to me to involve significant additional work.
-
- Frankly, it would be nice if IBM did this work and put out an Xlib set of
- files (CSD's?) for anonymous ftp access. But, if we have to do it for our
- own use then we might as well get on with this project.
-
- In any case, I would appreciate any porting advice you may have to offer.
-
- ------------------------------------------------------------------------------
- Alexander-James Annala
- Principal Investigator
- Neuroscience Image Analysis Network
- HEDCO Neuroscience Building, Fifth Floor
- University of Southern California
- University Park
- Los Angeles, CA 90089-2520
- ------------------------------------------------------------------------------
-
-