From owner-freebsd-questions@freebsd.org Sun Nov 29 14:57:15 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 9A27FA3BE07 for ; Sun, 29 Nov 2015 14:57:15 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 471831722 for ; Sun, 29 Nov 2015 14:57:14 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id tATEvCfr028502 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 29 Nov 2015 08:57:13 -0600 Subject: Re: gcc macros To: freebsd-questions@freebsd.org References: <565A73C6.4090306@hiwaay.net> <565AD143.8040301@FreeBSD.org> From: "William A. Mahaffey III" Message-ID: <565B1248.80509@hiwaay.net> Date: Sun, 29 Nov 2015 09:02:42 -0553.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <565AD143.8040301@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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 14:57:15 -0000 On 11/29/15 04:26, Matthew Seaman wrote: > 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). >> Is there such a listing documented somewhere, & if so where ? TIA & have >> 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=c89 if you like. > > Cheers, > > Matthew *Booooyah*, worked like a champ, *thanks* :-) !!!! -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.