1997.05.31 00:22 "tiff-v3.4beta036/gcc make problem", by John Russell Thomas

Hi,

I am running IRIX 5.3 on a SGI Indigo2 Impact.

When I run the configure script, it uses gcc as my compiler. I then run make ( actually gmake) and the make process dies with a message saying "gcc: unrecognized option `-rpath'". I have included the output from gmake at the bottom of this email.

If I rerun configure using the '-with-CC=cc' option everything seems to make correctly.

I would prefer to have the package compiled with gcc but the -rpath option is hardwired into the configure script. Is there any way around this? I know that the -rpath option is used with 'ld', but I am not real sure where to procede from there. Is this a problem with my gcc or a problem with the configure script?

Any suggestions appreciated.

Thanks,

Russ

P.S. - Thanks for the info yesterday Sam. I finally figured out what IFL stands for as well!

-----------
gmake output
-----------
gmake[1]: Entering directory `/usr1/people/bulldawg/src/tiff/tiff-v3.4beta036/tools'
/usr/local/bin/gcc -c -I../libtiff -I../libtiff -O -I. -I../tools -I../libtiff ../tools/fax2tiff.c
/usr/local/bin/gcc -o fax2tiff -O -I. -I../tools -I../libtiff fax2tiff.o -L../libtiff -rpath /usr/local/lib -ltiff -lm
gcc: unrecognized option `-rpath'
collect2: ld returned 1 exit status
/usr/bin/../lib/ld:
Object file format error in: /usr/local/lib: bad file magic number
gmake[1]: *** [fax2tiff] Error 1
gmake[1]: Leaving directory `/usr1/people/bulldawg/src/tiff/tiff-v3.4beta036/tools'
gmake: *** [all] Error 2

--------------------------------------------------------------------------
 Russ Thomas -- bulldawg@ochre.biotech.cdc.gov
(V)404-639-1631 | Centers for Disease Control and Prevention
(F)404-639-1331 | Biotechnology Core Facility Branch, Room 5/SB11
                  Mailstop G36,  1600 Clifton Road NE,  Atlanta, GA 30333
        The preceding message is not an official document of the CDC.
--------------------------------------------------------------------------