From: neal@grover.stat.washington.edu (Phil Neal)
Subject: Re: tiff,xv on alpha ?
Date: 9 May 1994 17:27:05 GMT [thread overview]
Message-ID: <2qlrp9$phb@news.u.washington.edu> (raw)
In-Reply-To: 2q3kjq$l0t@news.u.washington.edu
Dear alpha/tiff people,
I received a lot of responses to my question:
"How do I get my hands on a tiff library for the Alpha
or XV for the alpha that handles tiff files.
The following people responded:
David Abbott <dfa@austin.unimelb.edu.au>
Ken Miller <ken@klab.caltech.edu>
Grant Denkinson <gwd10@geography.nottingham.ac.uk>
"Magnus Persson, Lunds datacentral" <Magnus.Persson@LDC.lu.se>
L.Rosenthaler" <rosenth@ppc.lpc.ethz.ch>
"Richard L. Dyson" <dyson@sunfish.Physics.UIowa.Edu>
rsalz@osf.org
Thanks to you all.
I took the tack suggested by David Abbott. Which essentially
boiled down to a 4 step process described below, taken almost
verbatim from David Abbots suggestions:
1. ftp Sam Lefler's tifflib v3.3beta002 which has 64 bit
support.
ftp ftp.sgi.com
cd graphics/tiff
binary
get v3.3beta002.src.tar.Z
2. INSTALLATION:
cp -p Makefile.sun Makefile
edit tif_write.c and change at end of file
TIFFSetWriteOffset(TIFF* tif, off_t off)
to
TIFFSetWriteOffset(TIFF* tif, toff_t off)
then do the make.
3. Then grab xv-3.0a from:
ftp.cis.upenn.edu
directory: pub/xv
4. INSTALLATION
untar etc..
cd jpeg
cp -p makefile.ansi makefile
cd ..
edit xv.h and add following...
#ifdef __alpha
# include <sys/syslimits.h> # for PATH_MAX (MAXPATHLEN)
#endif
... somewhere before MAXPATHLEN is used.
Note that according to the xv 3.0 docs, the TIFF library does
NOT work on 64 bit machines such as the Alpha.
This is only true for TIFF
libraries at v3.2 or earlier. v3.3 beta works, so replace the
tiff directory with the contents of libtiff from v3.3
(or make a soft link).
Then edit xvtiff.c and add near the start:
#ifdef __alpha
typedef unsigned int U_long;
typedef int Long;
#else
#define U_long u_long
typedef long Long;
#endif
and then change all u_long refrences to U_long and long to Long.
If you like, you can edit the Makefile and add -Olimit 1300 to
the CCOPTS line to get all functions to be optimised.
That should do it.
Another big thanks, especially to David Abbott.
Phil Neal
Phil Neal (neal@grover.stat.washington.edu) wrote:
: Dear DEC Alpha 3000-800 osf1/motif people,
: Has anyone ported xv to the alpha. Does anyone know
: of any code, c or fortran, that runs on alphas,
: that writes out tiff files ?
: Thanks,
: Phil
: --
: ----------------------------------------------------------------
: Phil Neal, Systems Programmer, Statistics Department GN-22
: University of Washington, Seattle, Wa. 98195 USA | 206-685-1627
: ----------------------------------------------------------------
--
----------------------------------------------------------------
Phil Neal, Systems Programmer, Statistics Department GN-22
University of Washington, Seattle, Wa. 98195 USA | 206-685-1627
----------------------------------------------------------------
"Mother Nature always bats last." Old CNR mantra
prev parent reply other threads:[~1994-05-09 17:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-05-02 19:34 tiff,xv on alpha ? Phil Neal
1994-05-09 17:27 ` Phil Neal [this message]
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