Re: Predefined compiler symbols
Re: Predefined compiler symbols
- Subject: Re: Predefined compiler symbols
- From: Cameron Hayne <email@hidden>
- Date: Wed, 15 Jun 2005 16:29:00 -0400
On 15-Jun-05, at 4:06 PM, Chris Espinosa wrote:
To find out what the settings are for any given compiler version,
use the -E -dM options to gcc
Thanks for that - very useful.
Here's a Bash function that makes it slightly easier:
gcc_defines () { tmpfile="/tmp/foo$$.cpp"; echo "int main(){return
0;}" > $tmpfile; /usr/bin/gcc -E -dM $tmpfile; rm $tmpfile ; }
--
Cameron Hayne
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden