From owner-freebsd-questions@freebsd.org Sun Nov 29 10:20:05 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9B840A3BC69 for ; Sun, 29 Nov 2015 10:20:05 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 28095142A for ; Sun, 29 Nov 2015 10:20:05 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id tATAJv1c096553 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 29 Nov 2015 10:19:58 GMT (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk tATAJv1c096553 Authentication-Results: smtp.infracaninophile.co.uk/tATAJv1c096553; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6] claimed to be liminal.local Subject: Re: gcc macros To: freebsd-questions@freebsd.org References: <565A73C6.4090306@hiwaay.net> From: Matthew Seaman Message-ID: <565AD143.8040301@FreeBSD.org> Date: Sun, 29 Nov 2015 10:19:47 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <565A73C6.4090306@hiwaay.net> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="d5wB6Ev2pgleNlHjU4dt2J7NGhpgppts3" X-Virus-Scanned: clamav-milter 0.98.7 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Nov 2015 10:20:05 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --d5wB6Ev2pgleNlHjU4dt2J7NGhpgppts3 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 29/11/2015 03:39, William A. Mahaffey III wrote: > I use the Intel compiler suite (icc & ifort) to maintain some inhouse > code under Linux. The man pages for icc clearly list all macros defined= > &/or used by icc in one neat section. I have yet to locate such a > listing for macros under gcc's under FreeBSD 9.3R (gcc48, gcc49 & gcc5)= =2E > Is there such a listing documented somewhere, & if so where ? TIA & hav= e > a good one .... Try: cc -dM -E - < /dev/null which will print all of the pre-processor definitions used by the compiler. You can add other flags like eg. --std=3Dc89 if you like. Cheers, Matthew --d5wB6Ev2pgleNlHjU4dt2J7NGhpgppts3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2 iQJ8BAEBCgBmBQJWWtFJXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATh9YP/3M3szIYGCfTIs0pztBu3Oua /W0GQ1lw2/XbhtJ3oHu0oey8QII+D8aJD6KElnVVcXNaueHQMRxPbPzf3+GD0oc9 tmZje68ov+EHmnfezw2ag1gWq7yMM6R6onPyyYGObfexnYe40htG6uKI/YxMedQC XEabILe8gbAKz3PzngunRrmYubz1RD948aTHB+G2OpDMi7IHWrnWVtkfPRUpPxwC ic1wZRGuuyc/to+C9skZDNHnm/qnpGbV8pPHdP9nK/tC+umXgJ7i7R0qD3RcsaVY gZh5yEudle+bYFc6piOxeg3qGVcqiOnIZ7/2sGA2Mt+7UWQ4+8w41gE2MmKQ7+ia x5HtSRHKpSFKmr2vOhLU+bytjJjKa7aCkF11b+RtMG9MxctN42YKrx0DgOHQWiLA YucjLQ2eSYDu5E5ksZmogJxcSgYmzDaVxl0yDd6CM2aQ2LSZXsh14HbdGGt+Zezy R5VU5wluKA30vJB3GHIVZwUzdoBF2i8hbco40srgeM3NJlFaAWfMr4dSni+dUfMC Q4V78TkFV0Em1/OFSLTnqdW20EyKAEvWc6VNIVfsefscsyWkH2wDnrt8eLGakaWc P496QjtxfH+41lDH0s5nxrtfcILZb2tkGciKvXNJBToW5KmGqaQoT1b9Pp8ygP73 Af3jpPmBz9he71uLGd7D =/PgZ -----END PGP SIGNATURE----- --d5wB6Ev2pgleNlHjU4dt2J7NGhpgppts3--