Re: default definition in arm C environment

2004-08-02 Thread Erik Mouw
On Sun, Aug 01, 2004 at 02:23:24PM -0400, Chris Gorman wrote: [Please do not cross-post between lists, especially cross-posting to subscriber-only lists like linux-arm is considered rude.] > I'm trying to set some architecture specific definitions in the > vorbis-tools package so that when build

Re: default definition in arm C environment

2004-08-02 Thread Jamie Guinan
On Sun, 1 Aug 2004, Chris Gorman wrote: > ... > Is there a predefined definition passed by the gcc environment that I can > use? For example, if I use cpp(1) suggests this, $ touch foo.h; arm-linux-cpp -dM foo.h Add "| grep -i arm" to get arm-specific predefined macros. -Jamie

Re: default definition in arm C environment

2004-08-01 Thread Ralph Siemsen
On Sun, Aug 01, 2004 at 02:23:24PM -0400, Chris Gorman wrote: > [...] > 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? You might try the symbol __arm__ for this. If you need more

default definition in arm C environment

2004-08-01 Thread Chris Gorman
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 p