From: oberman@icaen.llnl.gov
Subject: Re: Porting to Alpha's OSF1
Date: 1995/09/21 [thread overview]
Message-ID: <43s7va$m31@lll-winken.llnl.gov> (raw)
In-Reply-To: 43po5s$7l3@topaz.sensor.com
In Article <43po5s$7l3@topaz.sensor.com>
ron@topaz.sensor.com (Ron Natalie) writes:
>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.
Byte order is different from some platforms, but BSD was developed on VAX
processors which have the same byte ordering as the Alpha. PCs are also the
same. Sun and MIPS are not unless it's a Digital MIPS box.
One other, very common problem, is the assumption that a long is 32 bits. I
have to routinely change many variable typed as long to int.
>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.
Pretty much true from my experience.
R. Kevin Oberman
Energy Sciences Network (ESnet)
National Energy Research Supercomputer Center (NERSC)
Lawrence Livermore National Laboratory (LLNL)
Internet: koberman@llnl.gov +1 510-422-6955
next prev parent 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.
1995-09-21 4:00 ` oberman [this message]
1995-09-21 4:00 ` Ron Natalie
1995-09-21 4:00 ` Richard Gorton
1995-09-21 4:00 ` Richard Readings
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