From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24102 invoked by alias); 28 Mar 2013 10:58:41 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 23835 invoked by uid 89); 28 Mar 2013 10:58:34 -0000 X-Spam-SWARE-Status: No, score=-5.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.1 Received: from mail-la0-f49.google.com (HELO mail-la0-f49.google.com) (209.85.215.49) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 28 Mar 2013 10:58:31 +0000 Received: by mail-la0-f49.google.com with SMTP id fs13so17182611lab.22 for ; Thu, 28 Mar 2013 03:58:29 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.112.142.134 with SMTP id rw6mr11800438lbb.4.1364468309277; Thu, 28 Mar 2013 03:58:29 -0700 (PDT) Received: by 10.112.31.169 with HTTP; Thu, 28 Mar 2013 03:58:29 -0700 (PDT) In-Reply-To: <1364465839067-925198.post@n5.nabble.com> References: <1364465839067-925198.post@n5.nabble.com> Date: Thu, 28 Mar 2013 10:58:00 -0000 Message-ID: Subject: Re: what is the equivalent of -xM1(solaris compiler option) in gcc From: Jonathan Wakely To: nagarjun Cc: gcc-help@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-SW-Source: 2013-03/txt/msg00343.txt.bz2 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.