1994.03.19 20:26 "Question about compiling libtiff on DEC Ultrix 4.2", by Bill Cattey
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:
- Put up with the slightly pessimal gcc code.
- Modify libtiff to compile under whatever old MIPS compiler my DECStation has.
- 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.)
Thanks in advance,