cc1: error: invalid option `t'

Ian Lance Taylor
Wed May 11 01:24:00 GMT 2005

Kevin Rodgers <> writes:

> I've installed gcc 3.4.3 via pkg-get and am trying to compile gaim-vv,
> but it fails like this:
> make[4]: Entering directory `/home/kevinr/gaim-vv-1.2.0/src/protocols/yahoo'
> if /bin/bash ../../../libtool --silent --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. -I../../..  -I../../../src -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -mt -I/opt/csw/include/gstreamer-0.8 -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include -I/opt/csw/include/libxml2      -ansi -pedantic -Wall -g -O -Wall -g3 -Dsun -MT crypt.lo -MD -MP -MF ".deps/crypt.Tpo" -c -o crypt.lo crypt.c; \
> then mv -f ".deps/crypt.Tpo" ".deps/crypt.Plo"; else rm -f ".deps/crypt.Tpo"; exit 1; fi
> cc1: error: invalid option `t'
> make[4]: *** [crypt.lo] Error 1
> make[4]: Leaving directory `/home/kevinr/gaim-vv-1.2.0/src/protocols/yahoo'

gcc is complaining about the -mt option.  The error message is

I don't know where the -mt is coming from.  There is a -mt option for
the ia64 targeted compiler, but you seem to be using i386-solaris.


More information about the Gcc-help mailing list