As documented in the manual (http://gcc.gnu.org/onlinedocs/cpp/Invocation.html#Invocation) -D name=definition i.e. -D BUFSIZE=1024 On 05/08/2012, Alireza Haghdoost <haghdoost@xxxxxxxxx> wrote: > 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 >