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: "Rupert Wood" <me at rupey dot net>
- To: "'Kevin Rodgers'" <kevin dot rodgers at ihs dot com>
- Cc: <gcc-help at gcc dot gnu dot org>,"'Ian Lance Taylor'" <ian at airs dot com>
- Date: Wed, 11 May 2005 13:47:27 +0100
- Subject: RE: cc1: error: invalid option `t'
Ian Lance Taylor wrote:
> 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.
Something thinks you're building with Forte not gcc. Forte's man page says:
-mt Passes -D_REENTRANT to preprocessor. Appends -lthread
after all other user-specified libraries on the command
line.
You could substitute these into your makefile yourself - but if you ran
configure to generate it yourself then you might want to investigate that in
case it happens again.
Rup.