AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
March 1994

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

1994.03.19 20:26 "Question about compiling libtiff on DEC Ultrix 4.2", by Bill Cattey
1994.03.21 18:03 "Re: Question about compiling libtiff on DEC Ultrix 4.2", by Dan Mccoy

1994.03.21 18:03 "Re: Question about compiling libtiff on DEC Ultrix 4.2", by Dan Mccoy

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

Me too.

> ...
>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.

I build the library no problem on Ultrix 4.2a using Decs "c89" compiler.
That's the full ansi compiler that you get with their c++ system.

I just tried building using "cc".  First try, tons of errors.
I just added "-Dconst= " to the CFLAGS and all of the errors went away.

>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?

Yes, 3.3 expects an ansi compiler.

>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.

Just a matter of -Dconst= in the Makefile

>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.)

4. get c89 from dec.  
   (Not necessarily the best option, since they charge for it.)


Dan McCoy	Pixar	mccoy@pixar.com