If I remember right the -xM1 option is a Dependency Option. Check the gcc manual for "PREPROCESSOR OPTIONS" -M{F,M,T,MD…}. Cheers ingo
--- Begin Message ---
- To: nagarjun <nagarjunreddy.iit@xxxxxxxxx>
- Subject: Re: what is the equivalent of -xM1(solaris compiler option) in gcc
- From: Jonathan Wakely <jwakely.gcc@xxxxxxxxx>
- Date: Thu, 28 Mar 2013 10:58:29 +0000
- Authentication-results: mx.google.com; spf=pass (google.com: domain of gcc-help-return-52648-ikrabbe.ask=gmail.com@xxxxxxxxxxx designates 209.132.180.131 as permitted sender) smtp.mail=gcc-help-return-52648-ikrabbe.ask=gmail.com@xxxxxxxxxxx; dkim=pass header.i=@gcc.gnu.org
- Cc: gcc-help@xxxxxxxxxxx
- In-reply-to: <1364465839067-925198.post@n5.nabble.com>
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.
--- End Message ---