Note I've sent a carbon to the list as I think this is still relevant.
itz> Hmmm. I have actually solved the compilation problem, and it was
itz> unrelated; in other words, __STDC__ _is_ defined during normal
itz> compiles. Any gcc guru here to explain why it doesn't show in
1
> #define __ELF__ 1
> #define unix 1
Mark> That doesn't define __STDC__ on Slink either.
Hmmm. I have actually solved the compilation problem, and it was
unrelated; in other words, __STDC__ _is_ defined during normal
compiles. Any gcc guru here to explain why it doesn'
efine __unix__ 1
> #define __GNUC__ 2
> #define __linux 1
> #define __ELF__ 1
> #define unix 1
That doesn't define __STDC__ on Slink either.
--
Mark Brown mailto:[EMAIL PROTECTED] (Trying to avoid grumpiness)
http://www.tardis.ed.ac.uk/~broonie/
EUFS
Why does gcc not predefine the __STDC__ macro now? Almost anything I
try to compile is broken by this.
kronstadt:/usr/include$ gcc -E -dM -xc /dev/null
#define __linux__ 1
#define linux 1
#define __i386__ 1
#define __i386 1
#define __GNUC_MINOR__ 95
#define i386 1
#define __unix 1
4 matches
Mail list logo