This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: cc1: error: invalid option `t'
- From: Ian Lance Taylor <ian at airs dot com>
- To: Kevin Rodgers <kevin dot rodgers at ihs dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 10 May 2005 21:23:51 -0400
- Subject: Re: cc1: error: invalid option `t'
- References: <17025.18130.362720.9219@solaris28.ihs.com>
Kevin Rodgers <kevin.rodgers@ihs.com> 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
confusing.
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.
Ian