gcc macros
William A. Mahaffey III
wam at hiwaay.net
Sun Nov 29 14:57:15 UTC 2015
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.
More information about the freebsd-questions
mailing list