default definition in arm C environment
Hello,
I'm trying to set some architecture specific definitions in the
vorbis-tools package so that when building on arm it will use a different
library than on non-arm. The reason for this is I want to use a fixed
point vorbis decoding library and header files when building on arm.
Is there a predefined definition passed by the gcc environment that I can
use? For example, if I use
#include <stdio.h>
int main (int argc, char ** argv) {
#ifdef MAGIC_DEFINITION
printf("success\n");
#else
printf("failure\n");
#endif /* MAGIC_DEFINITION */
return 0;
}
and build this with 'gcc foo.c -o foo' without a -DMAGIC_DEFINITION is
there any 'MAGIC_DEFINITION' which will yield 'success' in a default arm
gcc environment?
Thanks
Chris
Reply to: