Is that possible to set the Debugging mode in compiltime by setting the some preprocessor variables or so.

In Linux or in Unix when i compile i should be able to give a -<character> so that my program start compiling in the debugging mode. I that Possible.

For ex.

If i give as gcc -D <program name> or so then the program should start compiling in debugging mode.


Please give ur valubles suggessions.