g++ compiler produces an error on Redhat Linux # 4.8.5-39

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

 



Team,

We have been compiling cpp files with g++ compiler on Redhat Linux OS
machine and as part of this -mt option was given for g++ and it produced
required binary in case # 1 but produced an error in case#2 , I'm sharing
g++ version and the Redhat Linux OS version being used to compile the cpp
code details  below .. Can you please let us know what is the meaning of
flag -mt and why it works in case#1 but not in case#2

Case#1
----------
g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-23)

Case# 2
------------
g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)

In this case the error produced by compiler is

g++: error: unrecognized command line option -mt

your help will be greatly appreciated .

Thanks,
Kiran



[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