On 28 March 2013 10:17, nagarjun wrote: > I'm porting the C++ code from solaris to Linux. > > Can anybody tell me what is the gcc equivalent of solaris -xM1 option. > > In brief I have to replace */opt/SUNWspro/bin/CC -xM1* with *g++ with > equivalent option* It would help if you say what that option does for the Solaris compiler.