RE: cc1: error: invalid option `t'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux