Re: Build problem, Mac OSX
- Posted by bugmagnet Oct 24, 2012
- 2272 views
Ok, next issue
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_main.c -o/Users/bruceaxtens/Downloads/euphoria-OSX-4.0.5/source/build/intobj/back/be_main.o be_main.c:23:30: error: linux/limits.h: No such file or directory make[2]: *** [/Users/bruceaxtens/Downloads/euphoria-OSX-4.0.5/source/build/intobj/back/be_main.o] Error 1 make[1]: *** [interpreter] Error 2 make: *** [all] Error 2
Probably has something to do with the preamble in be_main.c, viz
#include <stdio.h> #include <time.h> #ifdef EWINDOWS # include <windows.h> # include <limits.h> #endif #ifdef EUNIX # include <unistd.h> # ifdef EBSD # include <limits.h> # else # include <linux/limits.h> # endif # include <sys/types.h> # include <sys/stat.h> #else # ifdef EMINGW # include <sys/types.h> # include <sys/stat.h> # else # include <sys\types.h> # include <sys\stat.h> # endif # if !defined(EMINGW) # include <i86.h> # include <bios.h> # include <graph.h> # endif #endif
Kind regards,
Bugmagnet