Command line flag for Defining Object-like macro

Alireza Haghdoost haghdoost@gmail.com
Sun Aug 5 19:02:00 GMT 2012


Hello

I can define any micro with -D flag in gcc command line. However, I am
wondering how can I define an object-like macro that assign some
number to the micro. For example, How can I pass following macro using
gcc command line ?

#define BUFSIZE 1024


Thanks
Alireza



More information about the Gcc-help mailing list