In article <3f**********@news.estpak.ee>,
Valentin Tihomirov <va******@abelectron.com> wrote:
I have a .c file with a general code. It can be compiled with different
constants for different applications. For example
char a[BYTE_SIZE];
where BYTE_SIZE is a constant defined in an external (.h?) file.
If BYTE_SIZE is defined somewhere, well, there is not much you
can do about it. That's that.
If BYTE_SIZE is undefined, then see if your compiler supports a
-D flag. For instance, with gcc you may do:
gcc -DBYTE_SIZE=23 prog.c
--
Rouben Rostamian <ro*******@umbc.edu>