Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: alexey@angel.energy.msk.su (Gadzhiev A. M.)
Subject: Re: Porting to Alpha's OSF1
Date: 1995/09/21	[thread overview]
Message-ID: <43rs2m$g40@angel.energy.msk.su> (raw)
In-Reply-To: 43po5s$7l3@topaz.sensor.com

Ron Natalie (ron@topaz.sensor.com) wrote:
: Gil Bregman (gil@applicom.co.il) wrote:
: : I'm about to port a project of about 200,000 lines of code to Alpha.
: : The system works currently on SunOS 4.1.X, Solaris 2.X, HP-UX, AIX 3.2.5
: : and IRIX 5.X. The system involves a lot of TCP/IP sockets stuff, X and
: : Motif and RPC.

: There is really only two major differences between the UNIX on the
: Alpha and pretty much standard BSD.

: 	1. Byte Order
: 	2. Pointers are 64 bits.

: If your code is trully portable, then you shouldn't have a problem.
: There is only one "ALPHA" hack in our million lines of code.  The
: rest is just to make sure that you really did use htons, etc...
: where appropriate and don't cheat alias pointers to int.
  Really i often get one bug in network program .
People directly use "unsigned long" as IP address . This is not true for Alpha.
And sometimes  they use "unsigned long" or long as synonym to "int".
  If program don't work my first step is : "grep long *" :)

: -Ron
-- 
Alexey Gadzhiev 
Computer Center of Energy Department of Russia
e-mail : alexey@angel.energy.msk.su



  reply	other threads:[~1995-09-21  4:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <DF7tJH.21J@applicom.co.il>
1995-09-20  4:00 ` Porting to Alpha's OSF1 Ron Natalie
1995-09-21  4:00   ` Gadzhiev A. M. [this message]
1995-09-21  4:00   ` oberman
1995-09-21  4:00     ` Ron Natalie
1995-09-21  4:00 ` Richard Readings
1995-09-21  4:00 ` Richard Gorton
1995-09-21  4:00 ` Carl J. Appellof
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox