Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Niel Markwick <nielm@euronet.nl>
To: Yingwei Peng <ypeng@math.mun.ca>
Subject: Re: A Problem of Porting Programs from Sun Solaris 2.x to OSF1
Date: 1998/10/19	[thread overview]
Message-ID: <362B3237.7E35E05@euronet.nl> (raw)
In-Reply-To: 362A4479.1BFE88FC@math.mun.ca

Yingwei Peng wrote:
> Recently, I tried to port my programs to OSF1 V3.2 62 alpha.
> The programs run well on Sun Solaris 2.x. I can compile them on OSF1.
> However, when I run them, I got "System terminating: bad address".

There is a very useful 'Sun Solaris to DIGITAL UNIX Porting Guide'
document which can be downloaded from:
	http://www.digital.com/hpc/ref/refdoc.html#porting

Your problem will probably be related to sizes of the various types:
check for hardcoded sizes in malloc's instead of n*sizeof(type), and for
passing an int*/float* to a function expecting long*/double*. Take note
of compiler warnings also!

Good luck,

Niel.

-- 
Niel Markwick
Consultant Software Engineer
Kontich, Belgium.



  parent reply	other threads:[~1998-10-19  4:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-18  4:00 A Problem of Porting Programs from Sun Solaris 2.x to OSF1 Yingwei Peng
1998-10-19  4:00 ` Finnbarr P. Murphy
1998-10-19  4:00 ` Niel Markwick [this message]
1998-10-21  4:00   ` Niel Markwick
1998-10-21  4:00     ` Timo Felbinger
1998-10-21  4:00       ` Niel Markwick
  -- strict thread matches above, loose matches on Subject: below --
1998-10-24  4:00 Yingwei Peng
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