Command line flag for Defining Object-like macro
Jonathan Wakely
jwakely.gcc@gmail.com
Sun Aug 5 20:20:00 GMT 2012
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@gmail.com> 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
>
More information about the Gcc-help
mailing list