Re: XForms: Porting

Steve Lamont (spl@szechuan.ucsd.edu)
Thu, 22 May 97 10:20:54 PDT

To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> I have finally got round to finishing writing an application on the Sun
> Os platform. If I wished to port it to IRIX 5.3, is it a case of
> re-compilation or re-design ?

That depends.

If you're using SunOS or SPARC specific features then you're going to
have problems. Otherwise, it should be a simple matter of rebuilding
the application.

Most applications I write using XForms run on IRIX 5.3, IRIX 6.2, and
SunOS 4.1.[34] with little or no difficulty in porting.

In porting X applications one of the most valuable tools you have at
your disposal is imake. I realize that imake is a little rococo
(perhaps Byzantine?) but once you learn it then porting between
operating systems becomes as simple as doing

xmkmf -a
make

There's an excellent book in the O'Reilly series called _Software
Portability with imake_ (ISBN 1-56592-055-4) that is well worth the
cover price. It will teach you all you need to know to successfully
use imake to port applications to any number of bizarre platforms.

> --------------ms806AED5EF365C64C462711FC
> Content-Type: application/x-pkcs7-signature; name="smime.p7s"
> Content-Transfer-Encoding: base64
> Content-Disposition: attachment; filename="smime.p7s"
> Content-Description: S/MIME Cryptographic Signature
>
> MIIQmQYJKoZIhvcNAQcCoIIQijCCEIYCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC

Please, oh, please, oh, please, folks -- lay off the base64 stuff. If
you need to send some binary gorp, use uuencode.

spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/