This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: what is the equivalent of -xM1(solaris compiler option) in gcc
- From: ikrabbe dot ask at gmail dot com
- To: jwakely dot gcc at gmail dot com, nagarjunreddy dot iit at gmail dot com, gcc-help at gcc dot gnu dot org
- Date: Thu, 28 Mar 2013 12:40:50 +0100
- Subject: Re: what is the equivalent of -xM1(solaris compiler option) in gcc
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 ---
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: nagarjun <nagarjunreddy dot iit at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Thu, 28 Mar 2013 10:58:29 +0000
- Subject: Re: what is the equivalent of -xM1(solaris compiler option) in gcc
- Authentication-results: mx.google.com; spf=pass (google.com: domain of gcc-help-return-52648-ikrabbe dot ask=gmail dot com at gcc dot gnu dot org designates 209.132.180.131 as permitted sender) smtp dot mail=gcc-help-return-52648-ikrabbe dot ask=gmail dot com at gcc dot gnu dot org; dkim=pass header dot i= at gcc dot gnu dot org
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; s=default; bh=jqszyIVnDste+j+shuK8gNAi jFk=; b=GVbQqxWJpjWyfMNfYSwWCWnEavhyINmT0Y1jGuQZucOQDrR1R5LWHD2D 21B967CUzSMXoRv6fXmgLZLEV9p4JCMx5lhPmhiX0ZlPfNOTR/1N0Z9XfLOEU8hY tc9jL7M04/zC27Qv23ttmEQSavGjp/JLTyMj3XvLRTlUcBBf3NY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; q=dns; s=default; b=YZ7mt6Aav5uSriFPZF 4ZXR+cgmWRYT53TBidnL6eX5QxOFkNDEWm0NFtLGOLKJlNsiJn96C7Dm4gCd4aYW KzA+PiOJO6uOQKjkx+HUXjKXuDi56NlCtqN/BNm3Eqrvgew+iMISyvn+e1rbo7xP 7/nYGkZ54NHJhApDhOcsPH934=
- References: <1364465839067-925198 dot post at n5 dot nabble dot 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 ---