Creating Command Line Args with gcc?

c, compiler-construction, gcc

Solution

Try

-DARGUMENT=2

Problem

I have the following code: `gcc test.c -o test -D ARGUMENT 2` and I want it to define ARGUMENT with a value of 2 but it says cannot find file 2 or something. How do I do this?

Original source