Received: by whizzer.wpd.sgi.com (/911001.SGI)
	 id AA19648; Sat, 19 Mar 94 20:26:38 GMT
Received: from sgi.sgi.com by whizzer.wpd.sgi.com via SMTP (/911001.SGI)
	for /usr/people/sam/majordomo/wrapper resend -l tiff -h sgi.sgi.com -f tiff-owner -s -m "-oi -odq -om" tiff-list id AA19638; Sat, 19 Mar 94 12:26:33 -0800
Received: from MIT.MIT.EDU by sgi.sgi.com via SMTP (931110.SGI/910110.SGI)
	for tiff-relay@whizzer.wpd.sgi.com id AA22231; Sat, 19 Mar 94 12:26:31 -0800
Received: from HEYOKA.MIT.EDU by MIT.EDU with SMTP
	id AA14948; Sat, 19 Mar 94 15:26:24 EST
Received: by heyoka.MIT.EDU (4.1/4.7) id AA00364; Sat, 19 Mar 94 15:26:16 EST
Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.heyoka.noname.sun4.41
          via MS.5.6.heyoka.noname.sun4_41;
          Sat, 19 Mar 1994 15:26:15 -0500 (EST)
Message-Id: <YhWpzbkGgE5T81IFYK@mit.edu>
Date: Sat, 19 Mar 1994 15:26:15 -0500 (EST)
From: Bill Cattey <wdc@MIT.EDU>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
To: tiff@sgi.sgi.com
Subject: Question about compiling libtiff on DEC Ultrix 4.2
Sender: tiff-owner@sgi.sgi.com

I am compiling tiff 3.30beta ALPHA 002 on a DECStation running Ultrix 4.2a.

Compiling with gcc works just fine, but I've got a browsing application
that needs as much optimization as it can get.  I have profiled gcc and
bundled cc versions of other parts of the application.  The bundled cc
is generating better code/ (Yes I am specifying -O2 to gcc.)

When I go to compile libtiff with the bundled C compiler (cc -V reports:
Mips Computer Systems 2.10), it chokes and dies with errors.

It struck me as odd that the MIPS compiler on the SGI should work, but
the one on the DECStation should not.  Anyone have any clues?

I see three ways to address my problem:
1. Put up with the slightly pessimal gcc code.  
2. Modify libtiff to compile under whatever old MIPS compiler my
DECStation has.
3. Get a newer version of gcc (the current version is gcc version
cygnus-2.3.3-930417) and 11 months is a LONG time for gcc improvements.)

Recommendations?

Thanks in advance,
-wdc


