Re: Command line flag for Defining Object-like macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
>


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux