Re: Build problem, Mac OSX
- Posted by bugmagnet Oct 24, 2012
- 2096 views
Thanks, that got me another bit further. Now I have the following
gcc -m32 -c -Wall -DEUNIX -fsigned-char -ffast-math -fomit-frame-pointer -DESIMPLE_MALLOC -DARCH=ix86 -I /Users/bruceaxtens/Downloads/euphoria-OSX-4.0.5/source/build/intobj/back -I /Users/bruceaxtens/Downloads/euphoria-OSX-4.0.5/source/build/include be_decompress.c -o/Users/bruceaxtens/Downloads/euphoria-OSX-4.0.5/source/build/intobj/back/be_decompress.o In file included from alldefs.h:2, from be_decompress.c:3: execute.h:225:26: error: linux/limits.h: No such file or directory make[2]: *** [/Users/bruceaxtens/Downloads/euphoria-OSX-4.0.5/source/build/intobj/back/be_decompress.o] Error 1 make[1]: *** [interpreter] Error 2 make: *** [all] Error 2
So is EOSX defined in the source somewhere or should I come in as -DEOSX ?
I now have that part of execute.h reading as
#ifdef EUNIX #if defined(EBSD) || defined(EOSX) #include <limits.h> #else #include <linux/limits.h> #endif #else #include <limits.h> #endif
The fact that it's still trying to find linux/limits.h suggests that EOSX isn't defined at that point.
Kind regards,
Bruce.