This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]